[PATCH] Missing include in drivers/base/bus.c and drivers/pci/pci-driver.c

Tom Rini
2002-05-29T20:38:06Z

drivers/base/bus.c and drivers/pci/pci-driver.c both have functions
which are marked with __init, but didn't include <linux/init.h> directly.
The following fixes that (and allows 2.5.19 to compile on PPC32).

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

===== drivers/base/bus.c 1.4 vs edited =====
--- 1.4/drivers/base/bus.c Tue May 28 11:35:01 2002
+++ edited/drivers/base/bus.c Wed May 29 13:30:05 2002
@@ -13,6 +13,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/stat.h>
+#include <linux/init.h>
#include "base.h"

static LIST_HEAD(bus_driver_list);
===== drivers/pci/pci-driver.c 1.5 vs edited =====
--- 1.5/drivers/pci/pci-driver.c Tue May 28 18:02:33 2002
+++ edited/drivers/pci/pci-driver.c Wed May 29 13:32:06 2002
@@ -5,6 +5,7 @@

#include <linux/pci.h>
#include <linux/module.h>
+#include <linux/init.h>

/*
* Registration of PCI drivers and handling of hot-pluggable devices.