summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-14 12:11:48 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-14 12:11:48 +0000
commit57d7df3a3505022713219b973594d828b9ad0fba (patch)
tree0b030c76c357e5520766d78183e62b6ff3b5a6f5 /target/linux/generic
parenta860153cce7fad72060b4f68866ea663df6329f7 (diff)
downloadmtk-20170518-57d7df3a3505022713219b973594d828b9ad0fba.zip
mtk-20170518-57d7df3a3505022713219b973594d828b9ad0fba.tar.gz
mtk-20170518-57d7df3a3505022713219b973594d828b9ad0fba.tar.bz2
generic: export include/linux/switch.h on 3.3, 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34678
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.3/700-swconfig.patch10
-rw-r--r--target/linux/generic/patches-3.6/700-swconfig.patch10
2 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/700-swconfig.patch b/target/linux/generic/patches-3.3/700-swconfig.patch
index 48cb643..a200943 100644
--- a/target/linux/generic/patches-3.3/700-swconfig.patch
+++ b/target/linux/generic/patches-3.3/700-swconfig.patch
@@ -27,3 +27,13 @@
obj-$(CONFIG_MARVELL_PHY) += marvell.o
obj-$(CONFIG_DAVICOM_PHY) += davicom.o
obj-$(CONFIG_CICADA_PHY) += cicada.o
+--- a/include/linux/Kbuild
++++ b/include/linux/Kbuild
+@@ -354,6 +354,7 @@ header-y += stddef.h
+ header-y += string.h
+ header-y += suspend_ioctls.h
+ header-y += swab.h
++header-y += switch.h
+ header-y += synclink.h
+ header-y += sysctl.h
+ header-y += taskstats.h
diff --git a/target/linux/generic/patches-3.6/700-swconfig.patch b/target/linux/generic/patches-3.6/700-swconfig.patch
index 777ea95..7b60772 100644
--- a/target/linux/generic/patches-3.6/700-swconfig.patch
+++ b/target/linux/generic/patches-3.6/700-swconfig.patch
@@ -27,3 +27,13 @@
obj-$(CONFIG_MARVELL_PHY) += marvell.o
obj-$(CONFIG_DAVICOM_PHY) += davicom.o
obj-$(CONFIG_CICADA_PHY) += cicada.o
+--- a/include/linux/Kbuild
++++ b/include/linux/Kbuild
+@@ -358,6 +358,7 @@ header-y += stddef.h
+ header-y += string.h
+ header-y += suspend_ioctls.h
+ header-y += swab.h
++header-y += switch.h
+ header-y += synclink.h
+ header-y += sysctl.h
+ header-y += sysinfo.h