This fixes a warning sparse gives. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- There are more sparse warnings but they're about signedness where I explicitly need to get signed values from the hw but the functions are declared unsigned because I also need unsigned values sometimes... sound/aoa/soundbus/core.c | 2 -- sound/aoa/soundbus/soundbus.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) --- wireless-dev.orig/sound/aoa/soundbus/core.c 2007-02-27 00:18:47.534692803 +0100 +++ wireless-dev/sound/aoa/soundbus/core.c 2007-02-27 00:18:52.994692803 +0100 @@ -179,8 +179,6 @@ static int soundbus_device_resume(struct #endif /* CONFIG_PM */ -extern struct device_attribute soundbus_dev_attrs[]; - static struct bus_type soundbus_bus_type = { .name = "aoa-soundbus", .probe = soundbus_probe, --- wireless-dev.orig/sound/aoa/soundbus/soundbus.h 2007-02-27 00:17:50.574692803 +0100 +++ wireless-dev/sound/aoa/soundbus/soundbus.h 2007-02-27 00:18:58.224692803 +0100 @@ -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 */ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel