]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitd108aeb3b6b06bea3dd1647ec5d70ed77008601b
treeb2f104d8d11a2a07c1588dbcbba23612ae168969
parentda9fc4b9587b725780eb8c1e0bd74021341f6b61
omap mailbox: fix empty struct device for omap_mbox

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>
arch/arm/plat-omap/include/mach/mailbox.h
arch/arm/plat-omap/mailbox.c