From: Sam Ravnborg Date: Sun, 20 Jul 2014 11:38:58 +0000 (+0200) Subject: sparcspkr: use sbus_*() primitives for IO X-Git-Tag: omap-for-v3.17/fixes-against-rc2~148^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d650471a399e65e423967e0b7692c86228211522;p=pandora-kernel.git sparcspkr: use sbus_*() primitives for IO The memory are mapped using of_ioremap() which is an indication this is sbus memory. Shift all uses of inb/outb to the sbus variants. The inb/outb methods uses ASI_PHYS_BYPASS_EC_E_L, whereas sbus_ variants uses ASI_PHYS_BYPASS_EC_E. The difference is if the reads/writes are done in native or little endian. But for byte reads/writes there is no difference so this does not matter for inb/outb - and this driver only uses the byte variants. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- Reading git-diff-tree failed