]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit14eadd1f2d4eac36d10395ce36a49917e1924c37
treed0584ef747702602b8008eaa3fba482455834d52
parentb0461e7981bc1f620622e560fa08079d4d335893
ARM: OMAP: HSMMC: enable use as a module

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>
arch/arm/mach-omap2/board-sdp-hsmmc.c
drivers/mmc/host/omap_hsmmc.c
include/asm-arm/arch-omap/mmc.h