From: Sebastian Andrzej Siewior Date: Fri, 16 Aug 2013 15:32:49 +0000 (+0200) Subject: usb: phy: am335x-control: make it compile with X-Git-Tag: v3.12-rc1~186^2~19^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff745710f830f53738324b88623a9b53f257f72;p=pandora-kernel.git usb: phy: am335x-control: make it compile with Randy reported this |drivers/usb/phy/phy-am335x-control.c:45:3: error: implicit declaration |of function '__WARN' [-Werror=implicit-function-declaration] and left it as an excercice to figure out that this happens only with CONFIG_BUG=n. As a fix I replace it with WARN_ON(). And there is a space before return so fix this, too. Reported-by: Randy Dunlap Acked-by: Randy Dunlap Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed