staging:iio: use pollfunc allocation helpers in remaining drivers.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / isdn / capi / capifs.h
blobe193d1189531d5c1c668325c3abb25e38bb60b34
1 /* $Id: capifs.h,v 1.1.2.2 2004/01/16 21:09:26 keil Exp $
2 *
3 * Copyright 2000 by Carsten Paeth <calle@calle.de>
5 * This software may be used and distributed according to the terms
6 * of the GNU General Public License, incorporated herein by reference.
8 */
10 #include <linux/dcache.h>
12 #if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE)
14 struct dentry *capifs_new_ncci(unsigned int num, dev_t device);
15 void capifs_free_ncci(struct dentry *dentry);
17 #else
19 static inline struct dentry *capifs_new_ncci(unsigned int num, dev_t device)
21 return NULL;
24 static inline void capifs_free_ncci(struct dentry *dentry)
28 #endif