2007-02-09 15:35:50

by Alon Bar-Lev

[permalink] [raw]
Subject: [PATCH 26/34] __initdata cleanup - intel-rng


Trivial.

Signed-off-by: Alon Bar-Lev <[email protected]>
Signed-off-by: Bernhard Walle <[email protected]>

---

diff -urNp linux-2.6.20-rc6-mm3.org/drivers/char/hw_random/intel-rng.c linux-2.6.20-rc6-mm3/drivers/char/hw_random/intel-rng.c
--- linux-2.6.20-rc6-mm3.org/drivers/char/hw_random/intel-rng.c 2007-01-25 04:19:28.000000000 +0200
+++ linux-2.6.20-rc6-mm3/drivers/char/hw_random/intel-rng.c 2007-01-31 22:19:30.000000000 +0200
@@ -143,7 +143,7 @@ static const struct pci_device_id pci_tb
};
MODULE_DEVICE_TABLE(pci, pci_tbl);

-static __initdata int no_fwh_detect;
+static __initdata int no_fwh_detect = 0;
module_param(no_fwh_detect, int, 0);
MODULE_PARM_DESC(no_fwh_detect, "Skip FWH detection:\n"
" positive value - skip if FWH space locked read-only\n"
@@ -219,7 +219,7 @@ static struct hwrng intel_rng = {


#ifdef CONFIG_SMP
-static char __initdata waitflag;
+static char __initdata waitflag = 0;

static void __init intel_init_wait(void *unused)
{