[ patch -mm1 06/11 ] gpio-patchset-fixups: no static init

From: Jim Cromie
Date: Thu Jun 22 2006 - 14:50:54 EST


diff.13-fix-static-no-init

static vars don't need to be initialized.

Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>

---

diff -ruNp -X dontdiff -X exclude-diffs 17-mm-pre0/drivers/char/pc8736x_gpio.c 13/drivers/char/pc8736x_gpio.c
--- 17-mm-pre0/drivers/char/pc8736x_gpio.c 2006-06-20 20:42:39.000000000 -0600
+++ 13/drivers/char/pc8736x_gpio.c 2006-06-21 10:31:31.000000000 -0600
@@ -28,7 +28,7 @@ MODULE_AUTHOR("Jim Cromie <jim.cromie@gm
MODULE_DESCRIPTION("NatSemi PC-8736x GPIO Pin Driver");
MODULE_LICENSE("GPL");

-static int major = 0; /* default to dynamic major */
+static int major; /* default to dynamic major */
module_param(major, int, 0);
MODULE_PARM_DESC(major, "Major device number");



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