summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRuss Dill <Russ.Dill@ti.com>2012-03-23 10:21:33 +0100
committerTony Lindgren <tony@atomide.com>2012-04-03 19:27:45 +0200
commit54da0784e24d955eab5f750a8c7c602aa8d4b4e3 (patch)
tree8cbd875aff04f89fa603388d6c134a2462257bd9 /arch
parentLinux 3.4-rc1 (diff)
downloadlinux-54da0784e24d955eab5f750a8c7c602aa8d4b4e3.tar.xz
linux-54da0784e24d955eab5f750a8c7c602aa8d4b4e3.zip
ARM: OMAP2+: smsc911x: Remove odd gpmc_cfg/board_data redirection
This seems to be a leftover from when gpmc-smsc911x.c was copied from gpmc-smc91x.c. Signed-off-by: Russ Dill <russ.dill@ti.com> Tested-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/gpmc-smsc911x.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/gpmc-smsc911x.c b/arch/arm/mach-omap2/gpmc-smsc911x.c
index 5e5880d6d099..aa0c296ff34a 100644
--- a/arch/arm/mach-omap2/gpmc-smsc911x.c
+++ b/arch/arm/mach-omap2/gpmc-smsc911x.c
@@ -26,8 +26,6 @@
#include <plat/gpmc.h>
#include <plat/gpmc-smsc911x.h>
-static struct omap_smsc911x_platform_data *gpmc_cfg;
-
static struct resource gpmc_smsc911x_resources[] = {
[0] = {
.flags = IORESOURCE_MEM,
@@ -93,14 +91,12 @@ static struct platform_device gpmc_smsc911x_regulator = {
* assume that pin multiplexing is done in the board-*.c file,
* or in the bootloader.
*/
-void __init gpmc_smsc911x_init(struct omap_smsc911x_platform_data *board_data)
+void __init gpmc_smsc911x_init(struct omap_smsc911x_platform_data *gpmc_cfg)
{
struct platform_device *pdev;
unsigned long cs_mem_base;
int ret;
- gpmc_cfg = board_data;
-
if (!gpmc_cfg->id) {
ret = platform_device_register(&gpmc_smsc911x_regulator);
if (ret < 0) {