From c42e17dc04e7f71a3989821eeef43fbbae19c48c Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 11 Dec 2012 16:43:01 -0800 Subject: [PATCH] compat-drivers: fix 45-remove-platform-id-table.patch CONFIG_HOTPLUG is going away soon so a few init/remove helpers are being removed. Signed-off-by: Luis R. Rodriguez --- .../network/45-remove-platform-id-table.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/collateral-evolutions/network/45-remove-platform-id-table.patch b/patches/collateral-evolutions/network/45-remove-platform-id-table.patch index 886b52d222de..29c4e736da51 100644 --- a/patches/collateral-evolutions/network/45-remove-platform-id-table.patch +++ b/patches/collateral-evolutions/network/45-remove-platform-id-table.patch @@ -5,7 +5,7 @@ } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30) - static const struct platform_device_id wl12xx_id_table[] __devinitconst = { + static const struct platform_device_id wl12xx_id_table[] = { { "wl12xx", 0 }, { } /* Terminating Entry */ }; @@ -14,7 +14,7 @@ static struct platform_driver wl12xx_driver = { .probe = wl12xx_probe, - .remove = __devexit_p(wlcore_remove), + .remove = wlcore_remove, +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30) .id_table = wl12xx_id_table, +#endif -- 2.30.2