]> git.baikalelectronics.ru Git - kernel.git/commit
SH: Convert out[bwl] macros to inline functions
authorCorey Minyard <cminyard@mvista.com>
Mon, 9 Jul 2012 20:35:20 +0000 (15:35 -0500)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2012 04:12:13 +0000 (13:12 +0900)
commit427fbfda80348f3d0b5bd440210adc88ca32e5c1
tree41334f30c472ce575c10a3dc1487d97fd75d071f
parentcbdb173cdf66ba9c097ba25e336a28408d673b95
SH: Convert out[bwl] macros to inline functions

The macros just called BUG(), but that results in unused variable
warnings all over the place, like in the IPMI driver.  The build
regression emails were annoying me, so here's the fix.  I have
not even compile tested this, but it's rather obvious.

[ port type mangled to unsigned long ]

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/io_noioport.h