summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/omap-usb-host.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 12:58:47 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-03 08:11:38 +0100
commita7cfee818fd7c6852837d6447e2cecc4a52880ea (patch)
tree4d7b4906fdf1f135e70bc09ded98e9c18743bf7a /drivers/mfd/omap-usb-host.c
parent445603030cbda672ec86ad262312edc2be1cd811 (diff)
downloadop-kernel-dev-a7cfee818fd7c6852837d6447e2cecc4a52880ea.zip
op-kernel-dev-a7cfee818fd7c6852837d6447e2cecc4a52880ea.tar.gz
mfd: omap-usb-host: Make of_device_id array const
Array of struct of_device_id may be be const as expected by of_platform_populate() call. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r--drivers/mfd/omap-usb-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 651e249..b48d80c 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -557,7 +557,7 @@ static int usbhs_omap_get_dt_pdata(struct device *dev,
return 0;
}
-static struct of_device_id usbhs_child_match_table[] = {
+static const struct of_device_id usbhs_child_match_table[] = {
{ .compatible = "ti,omap-ehci", },
{ .compatible = "ti,omap-ohci", },
{ }
OpenPOWER on IntegriCloud