capifs.h 658 B

12345678910111213141516171819202122232425262728
  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. #include <linux/dcache.h>
  10. #if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE)
  11. struct dentry *capifs_new_ncci(unsigned int num, dev_t device);
  12. void capifs_free_ncci(struct dentry *dentry);
  13. #else
  14. static inline struct dentry *capifs_new_ncci(unsigned int num, dev_t device)
  15. {
  16. return NULL;
  17. }
  18. static inline void capifs_free_ncci(struct dentry *dentry)
  19. {
  20. }
  21. #endif