summaryrefslogtreecommitdiff
path: root/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch')
-rw-r--r--linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch b/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch
index e69de29bb2..58343c5b55 100644
--- a/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch
+++ b/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch
@@ -0,0 +1,26 @@
+--- linux/arch/arm/mach-pxa/Makefile.old 2004-09-24 20:49:09.000000000 +0930
++++ linux/arch/arm/mach-pxa/Makefile 2004-09-24 20:49:11.000000000 +0930
+@@ -94,6 +94,23 @@
+ endif
+ endif
+
++ifeq ($(CONFIG_DEVICEINFO),m)
++ obj-$(CONFIG_DEVICEINFO) += devinfo.o
++ ifeq ($(CONFIG_SABINAL_DISCOVERY),y)
++ devinfo-objs-m += deviceinfo.o
++ devinfo-objs-$(CONFIG_DISCOVERY_DEVICEINFO) += discovery_deviceinfo.o
++ endif
++ ifeq ($(CONFIG_ARCH_PXA_POODLE),y)
++ devinfo-objs-m += sharpsl_deviceinfo.o
++ endif
++ ifeq ($(CONFIG_ARCH_PXA_CORGI),y)
++ devinfo-objs-m += sharpsl_deviceinfo.o
++ endif
++ ifeq ($(CONFIG_ARCH_PXA_TOSA),y)
++ devinfo-objs-m += sharpsl_deviceinfo.o
++ endif
++endif
++
+ obj-m += registers.o
+
+ include $(TOPDIR)/Rules.make