usb: chipidea: mark register map as "const" and convert to u8
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Jan 2014 02:10:39 +0000 (10:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 00:21:06 +0000 (16:21 -0800)
commit987e7bc3484fdc8c8018e1368608f6a81053b86f
tree9d0754c29de3f3436070c03763a96e5025025763
parent21395a1aac7ce1e19dbb43542a9e06cca2bfca01
usb: chipidea: mark register map as "const" and convert to u8

This patch makes the controller register map ci_regs_nolpm and ci_regs_lpm as
"const". Further, as all offset fit into a single byte, the type is changed
from uintptr_t to u8.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c