diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-03-07 10:23:50 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:55:44 -0400 |
commit | e378ad1dcb7f5cf6de4974832d01be04e112c4c2 (patch) | |
tree | 12ec7f8a7ce9772e1eba40a05350a07d3d17bdf6 /sound | |
parent | a43ae90543f4c5eccbc050eda088c07cf45b61c0 (diff) |
[ALSA] aoa: fix a sparse warning
This fixes a warning sparse gives.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/aoa/soundbus/core.c | 2 | ||||
-rw-r--r-- | sound/aoa/soundbus/soundbus.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index 8b2e9b905cda..64d163914335 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c | |||
@@ -163,8 +163,6 @@ static int soundbus_device_resume(struct device * dev) | |||
163 | 163 | ||
164 | #endif /* CONFIG_PM */ | 164 | #endif /* CONFIG_PM */ |
165 | 165 | ||
166 | extern struct device_attribute soundbus_dev_attrs[]; | ||
167 | |||
168 | static struct bus_type soundbus_bus_type = { | 166 | static struct bus_type soundbus_bus_type = { |
169 | .name = "aoa-soundbus", | 167 | .name = "aoa-soundbus", |
170 | .probe = soundbus_probe, | 168 | .probe = soundbus_probe, |
diff --git a/sound/aoa/soundbus/soundbus.h b/sound/aoa/soundbus/soundbus.h index 5c27297835d7..622cd37a0118 100644 --- a/sound/aoa/soundbus/soundbus.h +++ b/sound/aoa/soundbus/soundbus.h | |||
@@ -199,4 +199,6 @@ struct soundbus_driver { | |||
199 | extern int soundbus_register_driver(struct soundbus_driver *drv); | 199 | extern int soundbus_register_driver(struct soundbus_driver *drv); |
200 | extern void soundbus_unregister_driver(struct soundbus_driver *drv); | 200 | extern void soundbus_unregister_driver(struct soundbus_driver *drv); |
201 | 201 | ||
202 | extern struct device_attribute soundbus_dev_attrs[]; | ||
203 | |||
202 | #endif /* __SOUNDBUS_H */ | 204 | #endif /* __SOUNDBUS_H */ |