staging: ti dspbridge: avoid errors if stream id is zero
[linux-2.6.git] / drivers / staging / dt3155 / dt3155_drv.h
blobc447c6104c2acbfe45dbcae61fad77d7144fc04f
1 /*
3 Copyright 1996,2002 Gregory D. Hager, Alfred A. Rizzi, Noah J. Cowan,
4 Scott Smedley
6 This file is part of the DT3155 Device Driver.
8 The DT3155 Device Driver is free software; you can redistribute it
9 and/or modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version.
13 The DT3155 Device Driver is distributed in the hope that it will be
14 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with the DT3155 Device Driver; if not, write to the Free
20 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 MA 02111-1307 USA
24 #ifndef DT3155_DRV_INC
25 #define DT3155_DRV_INC
27 #ifdef __KERNEL__
28 #include <linux/wait.h>
30 /* wait queue for reads */
31 extern wait_queue_head_t dt3155_read_wait_queue[MAXBOARDS];
32 #endif
34 /* number of devices */
35 extern u32 ndevices;
37 extern int dt3155_errno;
39 #endif