Messages in this thread Patch in this message | | | Date | Thu, 22 Jun 2006 12:52:06 -0600 | From | Jim Cromie <> | Subject | [ patch -mm1 06/11 ] gpio-patchset-fixups: no static init |
| |
diff.13-fix-static-no-init
static vars don't need to be initialized.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |