diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-08-16 19:32:49 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-27 23:07:50 +0400 |
commit | 4ff745710f830f53738324b88623a9b53f257f72 (patch) | |
tree | 877b02e6708f2b88bdedc4ec5bb6f72961aee98d /drivers/dma/cppi41.c | |
parent | 7b360f4287e52802b8c62e0608737e8bbfda67e1 (diff) | |
download | linux-4ff745710f830f53738324b88623a9b53f257f72.tar.xz |
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 <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/dma/cppi41.c')
0 files changed, 0 insertions, 0 deletions