Re: [PATCH] drivers: bus: omap-ocp2scp: Fix compile error

From: Randy Dunlap
Date: Thu Aug 23 2012 - 13:53:39 EST


On 08/23/2012 10:40 AM, Kishon Vijay Abraham I wrote:

> Fixes
> CC [M] drivers/bus/omap-ocp2scp.o
> drivers/bus/omap-ocp2scp.c:70:1: error: '__mod_of_device_table' aliased to
> undefined symbol 'omap_usb2_id_table'
>
> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>


Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Thanks.

> ---
> drivers/bus/omap-ocp2scp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/omap-ocp2scp.c b/drivers/bus/omap-ocp2scp.c
> index 9075ef8..ff63560 100644
> --- a/drivers/bus/omap-ocp2scp.c
> +++ b/drivers/bus/omap-ocp2scp.c
> @@ -67,7 +67,7 @@ static const struct of_device_id omap_ocp2scp_id_table[] = {
> { .compatible = "ti,omap-ocp2scp" },
> {}
> };
> -MODULE_DEVICE_TABLE(of, omap_usb2_id_table);
> +MODULE_DEVICE_TABLE(of, omap_ocp2scp_id_table);
> #endif
>
> static struct platform_driver omap_ocp2scp_driver = {



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/