Commit 77d21309 authored by Kai Germaschewski's avatar Kai Germaschewski Committed by Kai Germaschewski

[PATCH] 2.5.3 ISDN devfs fix

the appended patch by Adrian Bunk removes yet another leftover from
the /dev/isdnX devices (which causes an build error when
CONFIG_DEVFS_FS=y).
parent 10461eef
...@@ -2178,7 +2178,6 @@ static void isdn_register_devfs(int k) ...@@ -2178,7 +2178,6 @@ static void isdn_register_devfs(int k)
static void isdn_unregister_devfs(int k) static void isdn_unregister_devfs(int k)
{ {
devfs_unregister (dev->devfs_handle_isdnX[k]);
devfs_unregister (dev->devfs_handle_isdnctrlX[k]); devfs_unregister (dev->devfs_handle_isdnctrlX[k]);
} }
...@@ -2226,22 +2225,18 @@ static void isdn_cleanup_devfs(void) ...@@ -2226,22 +2225,18 @@ static void isdn_cleanup_devfs(void)
#else /* CONFIG_DEVFS_FS */ #else /* CONFIG_DEVFS_FS */
static void isdn_register_devfs(int dummy) static void isdn_register_devfs(int dummy)
{ {
return;
} }
static void isdn_unregister_devfs(int dummy) static void isdn_unregister_devfs(int dummy)
{ {
return;
} }
static void isdn_init_devfs(void) static void isdn_init_devfs(void)
{ {
return;
} }
static void isdn_cleanup_devfs(void) static void isdn_cleanup_devfs(void)
{ {
return;
} }
#endif /* CONFIG_DEVFS_FS */ #endif /* CONFIG_DEVFS_FS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment