Skip to contentSkip to conversation

sound: Make keywest_driver static

PATCH In review Jean Delvare 2 participants 2 messages Oct 1, 2009 – Oct 2, 2009 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: Make keywest_driver static

From: Jean Delvare <[email protected]>
Subject: sound: Make keywest_driver static

I can't see any reason for struct i2c_driver keywest_driver to not be static.

Cc Jaroslav Kysela <[email protected]>
Cc Takashi Iwai <[email protected]>
---
 sound/ppc/keywest.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/ppc/keywest.c +1 -1
@@ -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",
 	},
Signature · 1 line
Jean Delvare
#1 lore raw

At Thu, 1 Oct 2009 18:08:18 +0200,

Quoted 10 lines · Jean Delvare

From: Jean Delvare <[email protected]>
Subject: sound: Make keywest_driver static

I can't see any reason for struct i2c_driver keywest_driver to not be static.

Cc Jaroslav Kysela <[email protected]>
Cc Takashi Iwai <[email protected]>

Applied now. Thanks.

Takashi

Quoted 20 lines
---
 sound/ppc/keywest.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/ppc/keywest.c +1 -1
@@ -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",
 	},
Signature · 2 lines
-- 
Jean Delvare