the current CVS tree now compiles in 2.3.99 without CONFIG_DEVFS_FS

This commit is contained in:
Kai Germaschewski 2000-03-17 13:10:03 +00:00
parent eb13d25d81
commit eb9393dd8d
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ static inline unsigned long copy_to_user(void *to, const void *from, unsigned lo
#define netif_running(d) test_bit(LINK_STATE_START, &d->state)
#endif
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,3,45)
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,3,45)) && defined(CONFIG_DEVFS_FS)
#define HAVE_DEVFS_FS
#else
#define devfs_register_chrdev(m,n,f) register_chrdev(m,n,f)