diff options
author | Julia Lawall | 2009-08-14 22:10:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:02:24 +0200 |
commit | a5ca2dfc4ebd33e18f981f562833c39efdc2585c (patch) | |
tree | b3b45805fdf7b1cedc53a7231574f9d3788e6550 /drivers/staging/otus/hal | |
parent | Staging: rt{2860,2870,3070}sta: Remove unused CRC code (diff) | |
download | kernel-qcow2-linux-a5ca2dfc4ebd33e18f981f562833c39efdc2585c.tar.gz kernel-qcow2-linux-a5ca2dfc4ebd33e18f981f562833c39efdc2585c.tar.xz kernel-qcow2-linux-a5ca2dfc4ebd33e18f981f562833c39efdc2585c.zip |
staging: Make some structures static
This was done using a semantic patch (http://coccinelle.lip6.fr/) that
checks that the declaration is not inside a function definition, that the
defined variable is not exported using EXPORTED_SYMBOL, etc, and that the
defined variable does not occur in any other file. If these conditions
hold, static is added before the declaration.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/otus/hal')
-rw-r--r-- | drivers/staging/otus/hal/hpmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/otus/hal/hpmain.c b/drivers/staging/otus/hal/hpmain.c index 322585be2c88..94f9cbbbdefc 100644 --- a/drivers/staging/otus/hal/hpmain.c +++ b/drivers/staging/otus/hal/hpmain.c @@ -76,7 +76,7 @@ u32_t zfHpEchoCommand(zdev_t* dev, u32_t value); #define zm_hp_priv(x) (((struct zsHpPriv*)wd->hpPrivate)->x) -struct zsHpPriv zgHpPriv; +static struct zsHpPriv zgHpPriv; #define ZM_FIRMWARE_WLAN_ADDR 0x200000 #define ZM_FIRMWARE_SPI_ADDR 0x114000 |