[alsa-devel] [PATCH] sound: Make keywest_driver static
From: Jean Delvare khali@linux-fr.org Subject: sound: Make keywest_driver static
I can't see any reason for struct i2c_driver keywest_driver to not be static.
Signed-off-by: Jean Delvare khali@linux-fr.org Cc: Jaroslav Kysela perex@perex.cz Cc: Takashi Iwai tiwai@suse.de --- sound/ppc/keywest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.32-rc1.orig/sound/ppc/keywest.c 2009-10-01 09:45:18.000000000 +0200 +++ linux-2.6.32-rc1/sound/ppc/keywest.c 2009-10-01 18:05:06.000000000 +0200 @@ -93,7 +93,7 @@ static const struct i2c_device_id keywes { } };
-struct i2c_driver keywest_driver = { +static struct i2c_driver keywest_driver = { .driver = { .name = "PMac Keywest Audio", },
At Thu, 1 Oct 2009 18:08:18 +0200, Jean Delvare wrote:
From: Jean Delvare khali@linux-fr.org Subject: sound: Make keywest_driver static
I can't see any reason for struct i2c_driver keywest_driver to not be static.
Signed-off-by: Jean Delvare khali@linux-fr.org Cc: Jaroslav Kysela perex@perex.cz Cc: Takashi Iwai tiwai@suse.de
Applied now. Thanks.
Takashi
sound/ppc/keywest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.32-rc1.orig/sound/ppc/keywest.c 2009-10-01 09:45:18.000000000 +0200 +++ linux-2.6.32-rc1/sound/ppc/keywest.c 2009-10-01 18:05:06.000000000 +0200 @@ -93,7 +93,7 @@ static const struct i2c_device_id keywes { } };
-struct i2c_driver keywest_driver = { +static struct i2c_driver keywest_driver = { .driver = { .name = "PMac Keywest Audio", },
-- Jean Delvare
participants (2)
-
Jean Delvare
-
Takashi Iwai