[ALSA] aoa: fix a sparse warning
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 7 Mar 2007 15:23:50 +0000 (16:23 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:44 +0000 (16:55 +0200)
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>
sound/aoa/soundbus/core.c
sound/aoa/soundbus/soundbus.h

index 8b2e9b905cda8271f15355baeff04364cf3fc564..64d1639143359cc85d93d0b2740bf86d62e6e830 100644 (file)
@@ -163,8 +163,6 @@ static int soundbus_device_resume(struct device * dev)
 
 #endif /* CONFIG_PM */
 
-extern struct device_attribute soundbus_dev_attrs[];
-
 static struct bus_type soundbus_bus_type = {
        .name           = "aoa-soundbus",
        .probe          = soundbus_probe,
index 5c27297835d763b052429835813e588cd0f6786c..622cd37a011817f3a4edd94cca5bf12a78faa281 100644 (file)
@@ -199,4 +199,6 @@ struct soundbus_driver {
 extern int soundbus_register_driver(struct soundbus_driver *drv);
 extern void soundbus_unregister_driver(struct soundbus_driver *drv);
 
+extern struct device_attribute soundbus_dev_attrs[];
+
 #endif /* __SOUNDBUS_H */