OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / drivers / isdn / hardware / eicon / capifunc.h
blobbd256f29738ce9ed98aa6be4153fc4a87055c4a3
1 /* $Id: capifunc.h,v 1.11.4.1 2004/08/28 20:03:53 armin Exp $
3 * ISDN interface module for Eicon active cards DIVA.
4 * CAPI Interface common functions
5 *
6 * Copyright 2000-2003 by Armin Schindler (mac@melware.de)
7 * Copyright 2000-2003 Cytronics & Melware (info@melware.de)
9 * This software may be used and distributed according to the terms
10 * of the GNU General Public License, incorporated herein by reference.
13 #ifndef __CAPIFUNC_H__
14 #define __CAPIFUNC_H__
16 #define DRRELMAJOR 2
17 #define DRRELMINOR 0
18 #define DRRELEXTRA ""
20 #define M_COMPANY "Eicon Networks"
22 extern char DRIVERRELEASE_CAPI[];
24 typedef struct _diva_card {
25 struct list_head list;
26 int remove_in_progress;
27 int Id;
28 struct capi_ctr capi_ctrl;
29 DIVA_CAPI_ADAPTER *adapter;
30 DESCRIPTOR d;
31 char name[32];
32 } diva_card;
35 * prototypes
37 int init_capifunc(void);
38 void finit_capifunc(void);
40 #endif /* __CAPIFUNC_H__ */