From 22df90f6bb687db58298084a200782dd0148d247 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sat, 14 Jul 2012 18:01:09 +0000 Subject: MIPS: BCM63XX: Create platform_device for USBD Signed-off-by: Kevin Cernekee Reviewed-by: Jonas Gorski Patchwork: http://patchwork.linux-mips.org/patch/4111/ Signed-off-by: John Crispin --- arch/mips/bcm63xx/boards/board_bcm963xx.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/mips/bcm63xx/boards') diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c index feb05258a4d1..ea4ea77c6297 100644 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #define PFX "board_bcm963xx: " @@ -42,6 +43,12 @@ static struct board_info __initdata board_96328avng = { .has_uart0 = 1, .has_pci = 1, + .has_usbd = 0, + + .usbd = { + .use_fullspeed = 0, + .port_no = 0, + }, .leds = { { @@ -888,6 +895,9 @@ int __init board_register_devices(void) !board_get_mac_address(board.enet1.mac_addr)) bcm63xx_enet_register(1, &board.enet1); + if (board.has_usbd) + bcm63xx_usbd_register(&board.usbd); + if (board.has_dsp) bcm63xx_dsp_register(&board.dsp); -- cgit v1.2.3