ARM: OMAP: HSMMC: enable use as a module
authorKevin Hilman <khilman@mvista.com>
Wed, 19 Mar 2008 22:47:05 +0000 (15:47 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Mar 2008 12:59:21 +0000 (14:59 +0200)
When building as a module, the board support code (which is compiled
in) cannot directly call the driver code (which may be in a module.)

This patch the separates the card-detect IRQ usage into board-specific
code and driver code, and adds a couple slot-specific items to the MMC
platform data.

Tested on 3430SDP ES2.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found