diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-07-27 09:34:45 (GMT) |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-07-27 11:57:36 (GMT) |
commit | 3c26e17032e42cfbe606882288223ad6146e4c38 (patch) | |
tree | 1c537eb20767ccbf4a7ab85063d2dca8ec03956c /usr | |
parent | eda3d8f5604860aae1bb9996bb5efc4213778369 (diff) | |
download | linux-fsl-qoriq-3c26e17032e42cfbe606882288223ad6146e4c38.tar.xz |
avr32: some mmc/sd cleanups
Minor cleanups for the MMC/SD support on avr32:
- Make at32_add_device_mci() properly initialize "missing"
platform data ... so boards like STK1002 won't try GPIO 0.
- Switch over to gpio_is_valid() instead of testing for only
one designated value.
- Provide STK1002 platform data for the unlikely case that
switches are set so first Ethernet controller isn't in use.
(That's the only way to get card detect and writeprotect
switch sensing on the STK1000.)
And get rid of one "unused variable" warning.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions