]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: fix __devexit_p points to __devexit functions
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 21 Mar 2008 20:53:41 +0000 (13:53 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Mar 2008 23:25:08 +0000 (19:25 -0400)
commitc83dbf687f1e0f6eccb96cd08438285e280a3876
tree61cc62d96a755b9d634d984d4e8fc96639299b8c
parentc2c25fb8144e9e77910294ee76a888e5c8477793
iwlwifi: fix __devexit_p points to __devexit functions

The iwlxxxx_pci_remove functions are not needed when drivers are not
compiled as modules - they can thus be discarded at kernel link time.
This is already captured by having them as __devexit_p in the pci_driver
struct - these are supposed to be pointers to __devexit functions, but was not.
This is now fixed.

This problem was reported by Toralf Forster when testing the compilation of
2.6.25-rc6.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
CC: Toralf Forster <toralf.foerster@gmx.de>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c