From: Luis R. Rodriguez Date: Thu, 17 May 2012 23:13:53 +0000 (-0700) Subject: compat-wireless: fix patches/11-dev-pm-ops.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c61333e2d2a46e23b211237ddf2a505b498bb2e;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: fix patches/11-dev-pm-ops.patch One hunk no longer applied. Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/11-dev-pm-ops.patch b/patches/11-dev-pm-ops.patch index a3064de4ee53..8adf927233e0 100644 --- a/patches/11-dev-pm-ops.patch +++ b/patches/11-dev-pm-ops.patch @@ -23,7 +23,7 @@ calls on compat code with only slight modifications. @@ -278,7 +282,12 @@ static struct pci_driver bcma_pci_bridge .id_table = bcma_pci_bridge_tbl, .probe = bcma_host_pci_probe, - .remove = bcma_host_pci_remove, + .remove = __devexit_p(bcma_host_pci_remove), +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)) .driver.pm = BCMA_PM_OPS, +#elif defined(CONFIG_PM)