mmc: break apart switch function
authorPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 12:46:08 +0000 (14:46 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 12:46:08 +0000 (14:46 +0200)
commit1addfcdbe4b23a20f28a097c2469d9f0c21bef23
tree802c1ec9e302b7fff94032f15d5ed0523ddc6c98
parent55556da01284af8c2174b786b3eca8e11301b656
mmc: break apart switch function

Break apart the SD switch function into one that reads the capabilities
and one that acts on them.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sd.c