From abd770a29b452f46cbb39ecab21eaf344c396886 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 10 Aug 2005 17:01:28 +0000 Subject: * Make.config, Make - Added support for future alsa support, yet to be finished. * bt87x-alsa.c: - bt87x.c that is inside ALSA tree. Yet to make it compile from here. * cx88-alsa.c,cx88.h: - cx88 ALSA skeleton. It is not yet working. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx88/cx88.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'linux/drivers/media/video/cx88/cx88.h') diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index 77b05b18a..72f578bf6 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -1,5 +1,5 @@ /* - * $Id: cx88.h,v 1.70 2005/07/24 17:44:09 mkrufky Exp $ + * $Id: cx88.h,v 1.71 2005/08/10 17:01:28 mchehab Exp $ * * v4l2 device driver for cx2388x based TV cards * @@ -49,6 +49,9 @@ #define CX88_MAXBOARDS 8 +/* Max number of inputs by card */ +#define MAX_CX88_INPUT 8 + /* ----------------------------------------------------------- */ /* defines and enums */ @@ -203,7 +206,7 @@ struct cx88_board { unsigned char tuner_addr; unsigned char radio_addr; int tda9887_conf; - struct cx88_input input[8]; + struct cx88_input input[MAX_CX88_INPUT]; struct cx88_input radio; int blackbird:1; int dvb:1; @@ -365,14 +368,8 @@ struct cx8800_dev { /* ----------------------------------------------------------- */ /* function 1: audio/alsa stuff */ +/* =============> moved to cx88-alsa.c <====================== */ -struct cx8801_dev { - struct cx88_core *core; - - /* pci i/o */ - struct pci_dev *pci; - unsigned char pci_rev,pci_lat; -}; /* ----------------------------------------------------------- */ /* function 2: mpeg stuff */ -- cgit v1.2.3