Ricardo Ribalda 9555b47fab sparc: io_64.h: Replace io function-link macros
Function like macros cannot be assigned to function pointers. This patch
convert the function-like macros into object-macros, that the
precompiler will replace with the name of the final function.

With this patch this kind of code will work:

if (priv->mode_big_endian)
	priv.read = ioread32be;
else
	priv.read = ioread32;

Same approach has been taken on asm-generic/io.h

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 99082eab63449f9d spi/xilinx: Remove iowrite/ioread wrappers
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-01 21:48:22 -08:00
..
2008-12-09 00:50:13 -08:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2014-08-26 13:45:55 -04:00
2014-08-26 13:45:55 -04:00
2014-04-29 01:12:25 -04:00
2008-08-31 20:56:15 -07:00
2012-03-28 18:30:03 +01:00
2013-03-20 11:06:54 -07:00
2014-09-16 18:26:40 -07:00
2014-10-05 16:53:40 -07:00
2012-05-15 10:22:00 -07:00
2012-03-28 18:30:03 +01:00
2012-05-14 14:05:07 -07:00
2012-07-26 16:46:16 -07:00
2014-05-02 01:30:20 -04:00
2014-09-23 16:21:27 -04:00
2012-04-15 10:28:50 -07:00
2012-07-26 16:46:16 -07:00