sh: mach-x3proto: Fix up smc91x platform data.

smc91x on x3proto needs 16-bit access and nowait, which we can now do
through the platform data.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+9 -1
+9 -1
arch/sh/boards/mach-x3proto/setup.c
··· 3 3 * 4 4 * Renesas SH-X3 Prototype Board Support. 5 5 * 6 - * Copyright (C) 2007 Paul Mundt 6 + * Copyright (C) 2007 - 2008 Paul Mundt 7 7 * 8 8 * This file is subject to the terms and conditions of the GNU General Public 9 9 * License. See the file "COPYING" in the main directory of this archive ··· 13 13 #include <linux/platform_device.h> 14 14 #include <linux/kernel.h> 15 15 #include <linux/io.h> 16 + #include <linux/smc91x.h> 16 17 #include <asm/ilsel.h> 17 18 18 19 static struct resource heartbeat_resources[] = { ··· 29 28 .id = -1, 30 29 .num_resources = ARRAY_SIZE(heartbeat_resources), 31 30 .resource = heartbeat_resources, 31 + }; 32 + 33 + static struct smc91x_platdata smc91x_info = { 34 + .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, 32 35 }; 33 36 34 37 static struct resource smc91x_resources[] = { ··· 52 47 .id = -1, 53 48 .resource = smc91x_resources, 54 49 .num_resources = ARRAY_SIZE(smc91x_resources), 50 + .dev = { 51 + .platform_data = &smc91x_info, 52 + }, 55 53 }; 56 54 57 55 static struct resource r8a66597_usb_host_resources[] = {