From: Krzysztof Kozlowski Date: Tue, 13 May 2014 10:58:47 +0000 (+0200) Subject: mfd: omap-usb-host: Make of_device_id array const X-Git-Tag: v3.16-rc1~82^2~6^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7cfee818fd7c6852837d6447e2cecc4a52880ea;p=thirdparty%2Flinux.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 651e249287dc4..b48d80c367f90 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", }, { }