sh: r2d - enable sm501 usb host function
authorMagnus Damm <damm@igel.co.jp>
Tue, 15 Jan 2008 03:48:15 +0000 (12:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:03 +0000 (13:19 +0900)
This patch tells the sm501 mfd driver to build platform data for the
sm501 usb host driver.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/rts7751r2d/setup.c

index 8cb4966170738d7a13df1988a356870f3cc4aeb2..8528616feaa0d069299f521dca81478faa69fbd6 100644 (file)
@@ -149,6 +149,7 @@ static struct sm501_initdata sm501_initdata = {
                .set    = 0x00001fe0,
                .mask   = 0x0,
        },
+       .devices        = SM501_USE_USB_HOST,
 };
 
 static struct sm501_platdata sm501_platform_data = {