public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* mailbox_mach dependency problem
@ 2010-05-01 14:47 Felipe Contreras
  2010-05-01 17:33 ` Felipe Balbi
  0 siblings, 1 reply; 7+ messages in thread
From: Felipe Contreras @ 2010-05-01 14:47 UTC (permalink / raw)
  To: linux-omap, Tony Lindgren, Hiroshi DOYU

Hi,

There seems to be a problem with 'mailbox' and 'mailbox_mach' modules.
When another module, like bridgedriver, uses mailbox stuff, only the
'mailbox' module is loaded which doesn't register the platform device.

The easiest solution would be to make mailbox_mach built-in when
mailbox is configured, however, mailbox_mach needs mailbox to be
loaded.

I tried to add a poke() function in mailbox_mach so that the module is
loaded when mailbox is loaded, but apparently linux doesn't like loop
dependencies:
WARNING: Loop detected: kernel/arch/arm/mach-omap2/mailbox_mach.ko
needs mailbox.ko which needs mailbox_mach.ko again!

Any ideas how to solve this issue?

-- 
Felipe Contreras

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-03  0:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01 14:47 mailbox_mach dependency problem Felipe Contreras
2010-05-01 17:33 ` Felipe Balbi
2010-05-01 23:08   ` Felipe Contreras
2010-05-02  7:13     ` Felipe Balbi
2010-05-02 12:57       ` Felipe Contreras
2010-05-02 15:59         ` Felipe Balbi
2010-05-03  0:16           ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox