omap mailbox: fix empty struct device for omap_mbox
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 24 Nov 2008 21:57:10 +0000 (23:57 +0200)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Fri, 19 Dec 2008 12:09:00 +0000 (14:09 +0200)
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