summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
commit94756d4adc16a70d53f4db8fec8248aae2256af9 (patch)
treeb1a6b2b8bf2ee89d8a00610f25347828df4846fb /openwrt/package/linux/kernel-patches/018_drivers_char_mem_c
parentf26476c862bc76370a3884555d8677c9886eb792 (diff)
uncompress patches, requested by Kaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-patches/018_drivers_char_mem_c')
-rw-r--r--openwrt/package/linux/kernel-patches/018_drivers_char_mem_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c b/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c
new file mode 100644
index 0000000000..0f67710fd3
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c
@@ -0,0 +1,12 @@
+--- linux-mips-cvs/drivers/char/mem.c 2004-08-14 20:38:49.000000000 +0200
++++ linux-broadcom/drivers/char/mem.c 2005-01-31 13:13:14.000000000 +0100
+@@ -713,7 +713,8 @@
+ {1, "mem", S_IRUSR | S_IWUSR | S_IRGRP, &mem_fops},
+ {2, "kmem", S_IRUSR | S_IWUSR | S_IRGRP, &kmem_fops},
+ {3, "null", S_IRUGO | S_IWUGO, &null_fops},
+-#if defined(CONFIG_ISA) || !defined(__mc68000__)
++#if defined(CONFIG_ISA) || !defined(__mc68000__) || \
++ defined(CONFIG_BCM94702_CPCI)
+ {4, "port", S_IRUSR | S_IWUSR | S_IRGRP, &port_fops},
+ #endif
+ {5, "zero", S_IRUGO | S_IWUGO, &zero_fops},