wimax: fix gcc warnings in sh4 when calling BUG()
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 18:13:41 +0000 (11:13 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 18:47:39 +0000 (11:47 -0700)
commit98eb0f53e2fc66482e2ea8033c58b20a079e5260
treed7bfd46772eb1da57cdb2f40e3e227186242bef6
parentd2f4c10544231c3681f937a1e511f4780b4b39af
wimax: fix gcc warnings in sh4 when calling BUG()

SH4's BUG() seems to confuse the compiler as it is considered to
return; thus, some functions would trigger usage of uninitialized
variables or non-void functions returning void.

Work around by initializing/returning.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/op-rfkill.c
drivers/net/wimax/i2400m/usb.c