MIPS: SGI-IP27: get rid of volatile and hubreg_t
Replace hub register access with __raw_readq/__raw_writeq and get rid of hubreg_t completely. Also remove no longer (probably never used) used defines Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:

committed by
Paul Burton

parent
72faa7a773
commit
db0e7d4e42
@@ -44,7 +44,7 @@
|
||||
IIO_ITTE_PUT((nasid), HUB_PIO_MAP_TO_MEM, \
|
||||
(bigwin), IIO_ITTE_INVALID_WIDGET, 0)
|
||||
|
||||
#define IIO_ITTE_GET(nasid, bigwin) REMOTE_HUB_ADDR((nasid), IIO_ITTE(bigwin))
|
||||
#define IIO_ITTE_GET(nasid, bigwin) REMOTE_HUB_PTR((nasid), IIO_ITTE(bigwin))
|
||||
|
||||
/*
|
||||
* Macro which takes the widget number, and returns the
|
||||
|
Reference in New Issue
Block a user