[packages] ndisc: make rdnssd depend on librt, fix typo
[openwrt/svn-archive/archive.git] / libs / zaptel-1.4.x / patches / 300-zaptel-base.patch
1 diff -Nru zaptel-1.4.9.2.org/kernel/zaptel-base.c zaptel-1.4.9.2/kernel/zaptel-base.c
2 --- zaptel-1.4.9.2.org/kernel/zaptel-base.c 2008-02-28 20:00:47.000000000 +0100
3 +++ zaptel-1.4.9.2/kernel/zaptel-base.c 2008-03-06 10:02:20.000000000 +0100
4 @@ -7346,6 +7346,7 @@
5 #endif /* CONFIG_ZAP_UDEV */
6
7 #ifdef CONFIG_DEVFS_FS
8 + umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO;
9 dev->devfs_handle = devfs_register(zaptel_devfs_dir, dev->name, DEVFS_FL_DEFAULT, ZT_MAJOR, dev->minor, mode, &zt_fops, NULL);
10 #endif /* CONFIG_DEVFS_FS */
11
12 diff -Nru zaptel-1.4.9.2.org/kernel/zaptel.h zaptel-1.4.9.2/kernel/zaptel.h
13 --- zaptel-1.4.9.2.org/kernel/zaptel.h 2008-02-05 00:00:48.000000000 +0100
14 +++ zaptel-1.4.9.2/kernel/zaptel.h 2008-03-06 10:00:41.000000000 +0100
15 @@ -1203,7 +1203,7 @@
16 const char *name;
17 __u8 minor;
18 #ifdef CONFIG_DEVFS_FS
19 - static devfs_handle_t devfs_handle;
20 + devfs_handle_t devfs_handle;
21 #endif
22 };
23