]> git.dujemihanovic.xyz Git - u-boot.git/commit
I2C: mxc_i2c: get rid of __REG access
authorStefano Babic <sbabic@denx.de>
Thu, 20 Jan 2011 07:50:44 +0000 (07:50 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:42 +0000 (00:54 +0100)
commit1d549ade61078b50e68ff867fe59401bb5c2db9b
treea98fe270571d033f16849c444c0470ebd752f70b
parent04220612f69a7148f7f6d045638c8046bd265b29
I2C: mxc_i2c: get rid of __REG access

This driver accesses to processor's register
via __REG macros, that are removed (or are planned
to be removed) and replaced by C structures.
This patches replaces all occurrencies of __REG macros.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/mxc_i2c.c