1/* $Id: capifs.h,v 1.1.2.2 2004/01/16 21:09:26 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 10#include <linux/dcache.h> 11 12#if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE) 13 14struct dentry *capifs_new_ncci(unsigned int num, dev_t device); 15void capifs_free_ncci(struct dentry *dentry); 16 17#else 18 19static inline struct dentry *capifs_new_ncci(unsigned int num, dev_t device) 20{ 21 return NULL; 22} 23 24static inline void capifs_free_ncci(struct dentry *dentry) 25{ 26} 27 28#endif 29