aoa: fix a sparse warning
Subsystems (2)
Johannes Berg
maintainerPATCH 1/1 aoa: fix a sparse warning
This fixes a warning sparse gives.
---
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(-)
sound/aoa/soundbus/core.c +0 -2
@@ -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,
sound/aoa/soundbus/soundbus.h +2 -0
@@ -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
At Tue, 27 Feb 2007 00:23:59 +0100,
Quoted 4 lines · Johannes Berg
This fixes a warning sparse gives.
Signed-off-by Johannes Berg <[email protected]>
Applied on ALSA HG tree now. Thanks.
Takashi
-------------------------------------------------------------------------
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