Skip to content

Commit

Permalink
make struct sdio_dev_attrs[] static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Pierre Ossman committed Sep 23, 2007
1 parent 17b759a commit 22bfc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/sdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 22bfc97

Please sign in to comment.