]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 27 Mar 2013 05:08:30 +0000 (14:08 +0900)
commit1c69182592f42989be81ed8cb79da7366d9fa606
treea8b255f95fb8109a7b99fa476cf8ea9da73374a9
parenta4339a9cb46644e19278e4dd5d89b262a37cb0b0
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