make struct sdio_dev_attrs[] static
authorAdrian Bunk <bunk@stusta.de>
Sun, 29 Jul 2007 14:58:09 +0000 (16:58 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 23 Sep 2007 19:13:32 +0000 (21:13 +0200)
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.22-rc6-mm1:
>...
>  git-mmc.patch
>...
>  git trees
>...

sdio_dev_attrs[] can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sdio_bus.c

index 2407244549145190623f3613ed0c2686e34dc59a..d229020db4a2cd5852fd2063bd01702898d67a37 100644 (file)
@@ -46,7 +46,7 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *attr,
                        func->class, func->vendor, func->device);
 }
 
-struct device_attribute sdio_dev_attrs[] = {
+static struct device_attribute sdio_dev_attrs[] = {
        __ATTR_RO(class),
        __ATTR_RO(vendor),
        __ATTR_RO(device),