compat-wireless: fix compile error with iwl
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 12 Nov 2010 19:21:25 +0000 (20:21 +0100)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 12 Nov 2010 19:46:06 +0000 (11:46 -0800)
The header file declares the const.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/11-dev-pm-ops.patch

index 89312766b6989320bd3500b714ccf1a9ec773fe1..6f00db82d47480104ccb9b235ae4e433578cf757 100644 (file)
@@ -178,7 +178,7 @@ calls on compat code with only slight modifications.
 +EXPORT_SYMBOL(iwl_pci_resume_compat);
 +#endif
 +
-+SIMPLE_DEV_PM_OPS(iwl_pm_ops, iwl_pci_suspend, iwl_pci_resume);
++const SIMPLE_DEV_PM_OPS(iwl_pm_ops, iwl_pci_suspend, iwl_pci_resume);
 +
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
  EXPORT_SYMBOL(iwl_pm_ops);