[2.6 patch] drivers/block/ub.c: make a struct static

From: Adrian Bunk
Date: Mon Nov 29 2004 - 07:50:34 EST


The patch below make a needlessly global struct static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/