sh: Fix CONFIG_PMB=n build.
authorMatt Fleming <matt@console-pimps.org>
Thu, 14 Jan 2010 23:00:45 +0000 (08:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Jan 2010 23:00:45 +0000 (08:00 +0900)
commit46c4e5daea3d5df06e27bf5a49a0c42274db6725
treef59354111a7d268f47a4cf84a8a1e850f5b1e2f0
parent02bf6cc72cc2a6258411ddf1649f33a65fc9a06e
sh: Fix CONFIG_PMB=n build.

The last commit introduced the following breakage

arch/sh/include/asm/mmu.h: In function 'pmb_remap':
arch/sh/include/asm/mmu.h:79: error: expected ';' before '}' token

and...

arch/sh/include/asm/mmu.h:78: error: 'EINVAL' undeclared (first use in this function)
arch/sh/include/asm/mmu.h:78: error: (Each undeclared identifier is reported only once
arch/sh/include/asm/mmu.h:78: error: for each function it appears in.)
arch/sh/include/asm/mmu.h: In function 'pmb_init':
arch/sh/include/asm/mmu.h:87: error: 'ENODEV' undeclared (first use in this function)

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/mmu.h