diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-09-16 23:37:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-22 14:45:06 -0700 |
commit | 58a587dc2abd436a6a8d0de729d9ed7e40ce0ac9 (patch) | |
tree | 64a821e8fa0ea28b35a5f0994707fef2b6d86d17 /arch/arm/mach-at91/include | |
parent | ec4756238239f1a331d9fb95bad8b281dad56855 (diff) |
at91sam9263: add at91_can device to generic device definition
This patch adds the device definition for the at91_can device to
the generic device definiton file for the at91sam9263.
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-at91/include')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index e6afff849b85..134731cd9fdf 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -179,6 +179,12 @@ extern void __init at91_add_device_isi(void); /* Touchscreen Controller */ extern void __init at91_add_device_tsadcc(void); +/* CAN */ +struct at91_can_data { + void (*transceiver_switch)(int on); +}; +extern void __init at91_add_device_can(struct at91_can_data *data); + /* LEDs */ extern void __init at91_init_leds(u8 cpu_led, u8 timer_led); extern void __init at91_gpio_leds(struct gpio_led *leds, int nr); |