]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tmio_mmc: Fix one off, use resource_size() in probe()
authorMagnus Damm <damm@opensource.se>
Wed, 11 Mar 2009 12:58:54 +0000 (21:58 +0900)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:30:02 +0000 (21:30 +0100)
commitbc6772a023ceab8df404b18b31c27f764dcf5b3f
tree6be80f41fc503bc127ee9dac25ab43c7df4e8b95
parentc0c88871574ccb4ee53dde1bbb678931b38ed47b
tmio_mmc: Fix one off, use resource_size() in probe()

Update the tmio_mmc code to use resource_size(). With this
patch applied the correct resource size is passed to ioremap().

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/tmio_mmc.c