compat-wireless: fix patches/11-dev-pm-ops.patch
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 17 May 2012 23:13:53 +0000 (16:13 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Thu, 17 May 2012 23:20:01 +0000 (16:20 -0700)
One hunk no longer applied.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
patches/11-dev-pm-ops.patch

index a3064de4ee53ec7476bb81f4d92bcde402516924..8adf927233e0a319e2c4d042308916c3eedd993a 100644 (file)
@@ -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)