aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54spi.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-06-23 11:39:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:02:24 -0400
commitd8c9210757605c5191d2d9f4e09be5e59ceac824 (patch)
tree45f0b0c76771c40e14ec49807247ea5ec27439f7 /drivers/net/wireless/p54/p54spi.c
parent0a5fb84f6b62bca8352f0aad045118e47340b096 (diff)
p54: Modify p54 files for new organization
Modify the remaining p54 files to account for the new file organization. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54spi.c')
-rw-r--r--drivers/net/wireless/p54/p54spi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/p54/p54spi.c b/drivers/net/wireless/p54/p54spi.c
index 83116baeb110..7ef191a9d792 100644
--- a/drivers/net/wireless/p54/p54spi.c
+++ b/drivers/net/wireless/p54/p54spi.c
@@ -34,7 +34,7 @@
34#include "p54spi_eeprom.h" 34#include "p54spi_eeprom.h"
35#include "p54.h" 35#include "p54.h"
36 36
37#include "p54common.h" 37#include "lmac.h"
38 38
39MODULE_FIRMWARE("3826.arm"); 39MODULE_FIRMWARE("3826.arm");
40MODULE_ALIAS("stlc45xx"); 40MODULE_ALIAS("stlc45xx");
@@ -713,7 +713,7 @@ static int __devexit p54spi_remove(struct spi_device *spi)
713{ 713{
714 struct p54s_priv *priv = dev_get_drvdata(&spi->dev); 714 struct p54s_priv *priv = dev_get_drvdata(&spi->dev);
715 715
716 ieee80211_unregister_hw(priv->hw); 716 p54_unregister_common(priv->hw);
717 717
718 free_irq(gpio_to_irq(p54spi_gpio_irq), spi); 718 free_irq(gpio_to_irq(p54spi_gpio_irq), spi);
719 719
@@ -724,7 +724,6 @@ static int __devexit p54spi_remove(struct spi_device *spi)
724 mutex_destroy(&priv->mutex); 724 mutex_destroy(&priv->mutex);
725 725
726 p54_free_common(priv->hw); 726 p54_free_common(priv->hw);
727 ieee80211_free_hw(priv->hw);
728 727
729 return 0; 728 return 0;
730} 729}