omap mailbox: fix empty struct device for omap_mbox
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 24 Mar 2009 01:07:24 +0000 (18:07 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:07:24 +0000 (18:07 -0700)
Since "mbox->dev" doesn't exist and isn't created either at
registration, this patch will create "struct device", which belongs to
"omap-mailbox" class and set this pointer for the member of
"struct omap_mbox".

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

No differences found