aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@openmoko.org>2009-01-15 13:49:14 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2009-01-15 13:49:14 +0000
commite2c4ed27f22b26aec093585b294c7cb4241375a8 (patch)
treef193265935d57f3a8e065176fdbd430d8180dc01 /drivers/i2c
parente2c0650efa751a6a2220618695fa41a2a5e7d23c (diff)
avoid using irq_desc in glamo-mci.c
When building the MMC subsystem as modules, drivers/mfd/glamo/glamo-mci.ko cannot access irq_desc, because it isn't exported by kernel/irq/handle.c All the functions that indirectly access irq_desc are inlined, so they cannot be used to avoid having to resolve irq_desc. Fortunately, we can solve the problem locally: we don't really need to access irq_desc anyway. This patch splits glamo_mci_irq into a small wrapper that implements the IRQ handler interface and the main code that doesn't need to know about the semantics of the latter. Then we simply call the main code with the information we already have. Signed-off-by: Werner Almesberger <werner@openmoko.org> Tested-by: Rafael Ignacio Zurita <rizurita@yahoo.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions