]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/scom: Change scom_read() and scom_write() to return errors
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Aug 2013 06:55:45 +0000 (16:55 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:34 +0000 (16:53 +1100)
commit0a7b473783b06603dfb697c96002aaf3e96af54f
tree72947047f91583d57f7983cf3070b19ee584c663
parente3749d6daf61fe962fd770fd35160a70911a0654
powerpc/scom: Change scom_read() and scom_write() to return errors

scom_read() now returns the read value via a pointer argument and
both functions return an int error code

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/scom.h
arch/powerpc/platforms/wsp/scom_smp.c
arch/powerpc/platforms/wsp/scom_wsp.c
arch/powerpc/platforms/wsp/wsp.c
arch/powerpc/sysdev/scom.c