aironet4500_card driver uses __devinitdata w/o init.h

Keith Packard (keithp@keithp.com)
Sun, 23 Sep 2001 22:39:04 -0700


I was just trying to build drivers/net/aironet4500_card.c. It failed
because the driver uses __devinitdata but didn't bother to include <linux/
init.h> where that macro is defined.

I almost feel like saying "First Post", but I doubt that I am...

keithp@keithp.com XFree86 Core Team SuSE, Inc.

diff -u orig/linux/drivers/net/aironet4500_card.c linux/drivers/net/aironet4500_card.c
--- orig/linux/drivers/net/aironet4500_card.c Mon Sep 17 22:52:35 2001
+++ linux/drivers/net/aironet4500_card.c Sun Sep 23 22:24:19 2001
@@ -28,6 +28,7 @@
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/in.h>
+#include <linux/init.h>
#include <asm/io.h>
#include <asm/system.h>
#include <asm/bitops.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/