Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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> |
| 4 | * |
| 5 | * This software may be used and distributed according to the terms |
| 6 | * of the GNU General Public License, incorporated herein by reference. |
| 7 | * |
| 8 | */ |
| 9 | |
Jan Kiszka | 90926f0 | 2010-02-08 10:12:06 +0000 | [diff] [blame] | 10 | #include <linux/dcache.h> |
| 11 | |
| 12 | #if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE) |
| 13 | |
| 14 | struct dentry *capifs_new_ncci(unsigned int num, dev_t device); |
| 15 | void capifs_free_ncci(struct dentry *dentry); |
| 16 | |
| 17 | #else |
| 18 | |
| 19 | static inline struct dentry *capifs_new_ncci(unsigned int num, dev_t device) |
| 20 | { |
| 21 | return NULL; |
| 22 | } |
| 23 | |
| 24 | static inline void capifs_free_ncci(struct dentry *dentry) |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | #endif |