mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
cd94e519dc
commit
9a97434215
4 changed files with 4 additions and 0 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue