Kind of revert "powerpc: 52xx: provide a default in mpc52xx_irqhost_map()"
authorWolfram Sang <wsa@the-dreams.de>
Fri, 4 Oct 2013 15:37:09 +0000 (17:37 +0200)
committerAnatolij Gustschin <agust@denx.de>
Wed, 30 Oct 2013 21:34:14 +0000 (22:34 +0100)
commit509a02df44df8454b96da0b9bfcaa19f0a349df6
treedabd965b3da56cf52ef10ee11fec0a9d5a2f9f84
parent45d20e8348969a165c53cfb91f445e7cc599a9f0
Kind of revert "powerpc: 52xx: provide a default in mpc52xx_irqhost_map()"

This more or less reverts commit 6391f697d4892a6f233501beea553e13f7745a23.
Instead of adding an unneeded 'default', mark the variable to prevent
the false positive 'uninitialized var'. The other change (fixing the
printout) needs revert, too. We want to know WHICH critical irq failed,
not which level it had.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Anatolij Gustschin <agust@denx.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/52xx/mpc52xx_pic.c