Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04b91701 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller
Browse files

ARM: fix typos in smc91x platform data



I recently did a rework of the smc91x driver and did some build-testing
by compiling hundreds of randconfig kernels. Unfortunately, my script
was wrong and did not actually test the configurations that mattered,
so I introduced stupid typos in almost every file I touched.

I fixed my script now, built all configurations that actually matter
and fixed all the typos, this is the result.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: b70661c7 ("net: smc91x: use run-time configuration on all ARM machines")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9215f437
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
#include <linux/platform_data/video-pxafb.h>
#include <mach/bitfield.h>
#include <linux/platform_data/mmc-pxamci.h>
#include <linux/smc91x.h>

#include "generic.h"
#include "devices.h"
+1 −1
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ static struct resource smc91x_resources[] = {
};

struct smc91x_platdata smc91x_platdata = {
	.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT;
	.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
};

static struct platform_device smc91x_device = {
+2 −2
Original line number Diff line number Diff line
@@ -268,8 +268,8 @@ static int neponset_probe(struct platform_device *dev)
		.id = 0,
		.res = smc91x_resources,
		.num_res = ARRAY_SIZE(smc91x_resources),
		.data = &smc91c_platdata,
		.size_data = sizeof(smc91c_platdata),
		.data = &smc91x_platdata,
		.size_data = sizeof(smc91x_platdata),
	};
	int ret, irq;

+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ static struct platform_device smc91x_device = {
	.num_resources	= ARRAY_SIZE(smc91x_resources),
	.resource	= smc91x_resources,
	.dev = {
		.platform_data  = &smc91c_platdata,
		.platform_data  = &smc91x_platdata,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ static const char version[] =
#include "smc91x.h"

#if defined(CONFIG_ASSABET_NEPONSET)
#include <mach/assabet.h>
#include <mach/neponset.h>
#endif