Messages in this thread Patch in this message | | | Date | Mon, 29 Nov 2004 13:37:29 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/block/ub.c: make a struct static |
| |
The patch below make a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm3-full/drivers/block/ub.c.old 2004-11-06 20:19:32.000000000 +0100 +++ linux-2.6.10-rc1-mm3-full/drivers/block/ub.c 2004-11-06 20:19:45.000000000 +0100 @@ -2097,7 +2097,7 @@ spin_unlock_irqrestore(&ub_lock, flags); } -struct usb_driver ub_driver = { +static struct usb_driver ub_driver = { .owner = THIS_MODULE, .name = "ub", .probe = ub_probe, - 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/
| |