]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: RB532: Simplify dev3 init
authorPhil Sutter <n0-1@freewrt.org>
Mon, 19 Jan 2009 22:42:54 +0000 (23:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:33:01 +0000 (21:33 +0000)
commit1c4db8e82808a804751be906e8c14bbe0a264a9c
tree0ece1c8ef033c31325696e2dd1a9f484ed52b245
parent4ca3803f81bca9081f17ef67ffca8b11790f608d
MIPS: RB532: Simplify dev3 init

As rb532_dev3_ctl_res is not used by any platform device, it can be dropped
when not used for holding the physical address of the device 3 controller.

Also a size of one byte should suffice when ioremapping the physical
address mentioned above, as only a single byte is being read from and
written to it.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/devices.c