sh-pfc: Fix compiler warning when BUG()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 Mar 2013 00:44:52 +0000 (01:44 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 2 Apr 2013 02:09:45 +0000 (11:09 +0900)
commit1960d58003b735555bb2dc56699530d606698574
tree4c668a21e060b1871fbfba2fb453b24cf5ac14f9
parent809609a5d8427b0025304dbb69a84a692d11c4f9
sh-pfc: Fix compiler warning when BUG()

The sh_pfc_phys_to_virt() function ends with a BUG() statement without a
return. When CONFIG_BUG isn't set the function will thus have no return
value. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/core.c