[NET]: Nuke SET_MODULE_OWNER macro.
[linux-2.6-microblaze.git] / drivers / net / wireless / airport.c
index 9d49670..6f7eb9f 100644 (file)
 #define DRIVER_NAME "airport"
 #define PFX DRIVER_NAME ": "
 
-#include <linux/config.h>
-
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
-#include <linux/ptrace.h>
-#include <linux/slab.h>
-#include <linux/string.h>
-#include <linux/timer.h>
-#include <linux/ioport.h>
-#include <linux/netdevice.h>
-#include <linux/if_arp.h>
-#include <linux/etherdevice.h>
-#include <linux/wireless.h>
-
-#include <asm/io.h>
-#include <asm/system.h>
-#include <asm/current.h>
-#include <asm/prom.h>
-#include <asm/machdep.h>
+#include <linux/delay.h>
 #include <asm/pmac_feature.h>
-#include <asm/irq.h>
-#include <asm/uaccess.h>
 
 #include "orinoco.h"
 
@@ -167,7 +149,7 @@ static int airport_hard_reset(struct orinoco_private *priv)
        /* Vitally important.  If we don't do this it seems we get an
         * interrupt somewhere during the power cycle, since
         * hw_unavailable is already set it doesn't get ACKed, we get
-        * into an interrupt loop and the the PMU decides to turn us
+        * into an interrupt loop and the PMU decides to turn us
         * off. */
        disable_irq(dev->irq);
 
@@ -215,7 +197,6 @@ airport_attach(struct macio_dev *mdev, const struct of_device_id *match)
                return -EBUSY;
        }
 
-       SET_MODULE_OWNER(dev);
        SET_NETDEV_DEV(dev, &mdev->ofdev.dev);
 
        macio_set_drvdata(mdev, dev);