Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
Remove all remaining warnings from qemu. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -58,7 +58,9 @@ extern struct device **last_dev_p;
|
||||
*
|
||||
* @see device_path
|
||||
*/
|
||||
static spinlock_t dev_lock = SPIN_LOCK_UNLOCKED;
|
||||
|
||||
DECLARE_SPIN_LOCK(dev_lock)
|
||||
|
||||
device_t alloc_dev(struct bus *parent, struct device_path *path)
|
||||
{
|
||||
device_t dev, child;
|
||||
|
Reference in New Issue
Block a user