[PATCH] pnpbios_proc.c needs init.h

Peter Chubb (peter@chubb.wattle.id.au)
Thu, 6 Jun 2002 10:14:02 +1000


Without init.h, pnpbios_proc.c won't compile (2.5.20), as it has a
function declared __init.

===== linux/drivers/pnp/pnpbios_proc.c 1.2 vs edited =====
--- 1.2/drivers/pnp/pnpbios_proc.c Sun Mar 24 09:55:28 2002
+++ edited/drivers/pnp/pnpbios_proc.c Thu Jun 6 10:06:31 2002
@@ -28,6 +28,7 @@
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/pnpbios.h>
+#include <linux/init.h>

static struct proc_dir_entry *proc_pnp = NULL;
static struct proc_dir_entry *proc_pnp_boot = NULL;

--
Peter C					    peterc@gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories, all almost the same.
-
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/