Skip to contentSkip to conversation

Missing init.h in drivers/pci/power.c

PATCH New David Gibson 1 participant 1 message May 21, 2002 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missing init.h in drivers/pci/power.c

Linus, please apply. This adds a #include to drivers/pci/power.c to define __init. At least on PPC4xx this fixes compile problems.

drivers/pci/power.c renamed from home/dgibson/kernel/linuxppc-2.5/drivers/pci/power.c +1 -0
diff -urN /home/dgibson/kernel/linuxppc-2.5/drivers/pci/power.c linux-bluefish/drivers/pci/power.c
@@ -1,5 +1,6 @@
 #include <linux/pci.h>
 #include <linux/pm.h>
+#include <linux/init.h>
 
 /*
  * PCI Power management..
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson