]> err.no Git - linux-2.6/commit
au1xmmc: remove db1200 board code, rewrite probe.
authorManuel Lauss <mano@roarinelk.homelinux.net>
Mon, 9 Jun 2008 06:36:13 +0000 (08:36 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:43 +0000 (14:14 +0200)
commitc4223c2c91fa9e5addd6eadd804e57a925ac5e5e
treed64af7e2b6322d59f1081ff8562cfc5f51f7f974
parent12bd257532708a4d5be4b8548ff121a45ff88f5d
au1xmmc: remove db1200 board code, rewrite probe.

Remove the DB1200 board-specific functions (card present, read-only,
activity LED methods) and instead add platform data which is passed
to the driver.  This also allows for platforms to implement other
carddetect schemes (e.g. dedicated irq) without having to pollute the
driver code.  The poll timer (used for pb1200) is kept for compatibility.

With the board-specific stuff gone, the driver's ->probe() code can be
cleaned up considerably.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/au1xmmc.h
include/asm-mips/mach-au1x00/au1100_mmc.h