[PATCH 1/2]: export-irq-functionality.patch

Simon Kagstrom simon.kagstrom at gmail.com
Sat Nov 15 18:48:12 CET 2008


On Sat, 15 Nov 2008 17:33:43 +0000
Andy Green <andy at openmoko.com> wrote:

> | +EXPORT_SYMBOL(handle_level_irq);
> 
> I'm guessing that if lis302dl driver is the only thing in the whole
> kernel that needs this export to work as a module, we are doing
> something wrong somewhere.

It's used in glamo-core.c as well, in addition to a number of
non-openmoko related things. Most look like platform devices for
various systems.

> But it's a problem to solve if and when we concentrate on getting
> lis302dl upstream, difficult as that may anyway be, so I sent both of
> these on stable-tracking.

Thanks. I'm also slightly worried about the upstreaming. Although I'm
hardy an expert, I really see no other way than extending the SPI
interface with some "raw" interface that can be used from interrupt
context. That looks to me like a daunting task.

// Simon



More information about the openmoko-kernel mailing list