Skip to content
Commit 6e89842d authored by Charles E. Youse's avatar Charles E. Youse Committed by Andrew Boie
Browse files

drivers/i2c/i2c_dw: really, really make 64-bit clean



The base_address in the device configuration is used as a handle
to access an entity in memory. In C, we call that a 'pointer'.
Also in C, (versus, say, PL/M) we name these pointer things after
what they point not ('regs') not what they are ('base address').

Thus, we change the member to a pointer type and change its name.
This makes it compile cleanly regardless of machine pointer size,
while also cutting down on a bunch of casting noise.

Signed-off-by: default avatarCharles E. Youse <charles.youse@intel.com>
parent e5192f8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment