fixed sparse warning: incompatible types in comparison expression
(different address spaces)
wolw and reg both are being used only for the initialization of
the __iomem area.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
u32 sa_lo;
u32 sa_hi = 0;
u32 pf_ctrl = 0;
- u32 *wolw;
+ u32 __iomem *wolw;
/* Disable the MAC while it is being configured (also disable WOL) */
writel(0x8, &rxmac->ctrl);
static void et1310_config_macstat_regs(struct et131x_adapter *adapter)
{
struct macstat_regs __iomem *macstat = &adapter->regs->macstat;
- u32 *reg;
+ u32 __iomem *reg;
/* initialize all the macstat registers to zero on the device */
for (reg = &macstat->txrx_0_64_byte_frames;