]> git.baikalelectronics.ru Git - kernel.git/commit
m32r: add io*_rep helpers
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 29 Dec 2015 22:54:19 +0000 (14:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2015 01:45:49 +0000 (17:45 -0800)
commitbf912ed0b9c6570a100f8ea1f661c4c3bab30444
tree6e682d1078bdebae30611bacd1dde304bab25e5f
parent90000789b9bcdad98f4ca1a165aaaf0dbe6064b9
m32r: add io*_rep helpers

m32r allmodconfig was failing with the error:

  error: implicit declaration of function 'read'

On checking io.h it turned out that 'read' is not defined but 'readb' is
defined and 'ioread8' will then obviously mean 'readb'.

At the same time some of the helper functions ioreadN_rep() and
iowriteN_rep() were missing which also led to the build failure.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/include/asm/io.h