summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/Makefile
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-05-30 09:55:50 +0200
committerDavid S. Miller <davem@davemloft.net>2009-06-01 11:53:35 +0200
commitd1a277c584d0862dbf51991baea947ea5f2ce6bf (patch)
tree368832ff703abde6c813eaaba42a48ae451fc1f1 /drivers/net/can/sja1000/Makefile
parentcan: sja1000: stop misusing member base_addr of struct net_device (diff)
downloadlinux-d1a277c584d0862dbf51991baea947ea5f2ce6bf.tar.xz
linux-d1a277c584d0862dbf51991baea947ea5f2ce6bf.zip
can: sja1000: generic OF platform bus driver
This patch adds a generic driver for SJA1000 chips on the OpenFirmware platform bus found on embedded PowerPC systems. You need a SJA1000 node definition in your flattened device tree source (DTS) file similar to: can@3,100 { compatible = "nxp,sja1000"; reg = <3 0x100 0x80>; interrupts = <2 0>; interrupt-parent = <&mpic>; nxp,external-clock-frequency = <16000000>; }; See also Documentation/powerpc/dts-bindings/can/sja1000.txt. CC: devicetree-discuss@ozlabs.org Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/sja1000/Makefile')
-rw-r--r--drivers/net/can/sja1000/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/sja1000/Makefile b/drivers/net/can/sja1000/Makefile
index d6c631f9e665..9d0c08da273c 100644
--- a/drivers/net/can/sja1000/Makefile
+++ b/drivers/net/can/sja1000/Makefile
@@ -4,6 +4,7 @@
obj-$(CONFIG_CAN_SJA1000) += sja1000.o
obj-$(CONFIG_CAN_SJA1000_PLATFORM) += sja1000_platform.o
+obj-$(CONFIG_CAN_SJA1000_OF_PLATFORM) += sja1000_of_platform.o
obj-$(CONFIG_CAN_EMS_PCI) += ems_pci.o
obj-$(CONFIG_CAN_KVASER_PCI) += kvaser_pci.o