]> git.baikalelectronics.ru Git - kernel.git/commit
musb: io: only define read/write stubs if they're not defined yet
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 11 Sep 2008 08:53:19 +0000 (11:53 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:58 +0000 (14:40 -0700)
commit29beefc0187e57fee35cc744c3f5a1b7c862cfa4
treef799dc051edfd0ec75c9e5b7406c9bb5f20e1e12
parent8ae7da96f8089399ca0915c3e6f0d3ecc7c1f92c
musb: io: only define read/write stubs if they're not defined yet

For those archs which don't provide read/write friends we
provide our own implementation so musb driver won't break
compilation.

This is temporary fix until a better solution comes from
upstream. Idealy, <linux/io.h> would provide those calls
if the architecture did not provide them yet. In that case
being possible to remove all those stubs from musb_io.h

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_io.h