With most of the OMAP hwmod data being moved to a module, this API needs to be accessed later in the boot and can't reside under __init section anymore. Signed-off-by: Tero Kristo <t-kristo@xxxxxx> --- drivers/net/wireless/ti/wilink_platform_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wilink_platform_data.c b/drivers/net/wireless/ti/wilink_platform_data.c index a92bd3e..55bba5a 100644 --- a/drivers/net/wireless/ti/wilink_platform_data.c +++ b/drivers/net/wireless/ti/wilink_platform_data.c @@ -25,7 +25,7 @@ static struct wl12xx_platform_data *wl12xx_platform_data; -int __init wl12xx_set_platform_data(const struct wl12xx_platform_data *data) +int wl12xx_set_platform_data(const struct wl12xx_platform_data *data) { if (wl12xx_platform_data) return -EBUSY; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html