]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP: MMU: Fix inconsistency to unregister device MMU
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 18 Mar 2008 10:28:40 +0000 (12:28 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Mar 2008 11:45:28 +0000 (13:45 +0200)
commita18609a12b367239898fdd7834e34f0f4e12993b
treeaaaca838c1bf109b1984d7fc4210b8d063051921
parent1fda54d15233662ef8f6f63df646d7f3f9fe1307
OMAP: MMU: Fix inconsistency to unregister device MMU

There was a problem that kernel counldn't find struct device for
device MMU when unregistering it for class. This is because device
MMUs are the pseudo devices and they were not created when registering
into MMU class. This patch will create struct device when registering
device MMU into class and will fix the problem that "dspctl cleanup"
encountered kernel Oops.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/mmu.c
arch/arm/mach-omap2/mmu.c
arch/arm/plat-omap/mmu.c
include/asm-arm/arch-omap/mmu.h