diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-10-17 21:45:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 20:14:20 +0200 |
commit | 9a97434215819872b054c3d0c067e5e4fa768b0e (patch) | |
tree | 789fc82132440704ad22d83c9f6d3a148537f345 /include/linux/smc91x.h | |
parent | ethernet/sfc: use core min/max MTU checking (diff) | |
download | linux-9a97434215819872b054c3d0c067e5e4fa768b0e.tar.xz linux-9a97434215819872b054c3d0c067e5e4fa768b0e.zip |
ARM: pxa: enhance smc91x platform data
Instead of having the smc91x driver relying on machine_is_*() calls,
provide this data through platform data, ie. idp, mainstone and
stargate.
This way, the driver doesn't need anymore machine_is_*() calls, which
wouldn't work anymore with a device-tree build.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | include/linux/smc91x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smc91x.h b/include/linux/smc91x.h index e302c447e057..129bc674dcf5 100644 --- a/include/linux/smc91x.h +++ b/include/linux/smc91x.h @@ -39,6 +39,7 @@ struct smc91x_platdata { unsigned long flags; unsigned char leda; unsigned char ledb; + bool pxa_u16_align4; /* PXA buggy u16 writes on 4*n+2 addresses */ }; #endif /* __SMC91X_H__ */ |