Commit 22bfc979 authored by Adrian Bunk's avatar Adrian Bunk Committed by Pierre Ossman

make struct sdio_dev_attrs[] static

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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 17b759af
...@@ -46,7 +46,7 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, ...@@ -46,7 +46,7 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *attr,
func->class, func->vendor, func->device); func->class, func->vendor, func->device);
} }
struct device_attribute sdio_dev_attrs[] = { static struct device_attribute sdio_dev_attrs[] = {
__ATTR_RO(class), __ATTR_RO(class),
__ATTR_RO(vendor), __ATTR_RO(vendor),
__ATTR_RO(device), __ATTR_RO(device),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment