diff options
Diffstat (limited to 'drivers/net/ibm_newemac/core.h')
-rw-r--r-- | drivers/net/ibm_newemac/core.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ibm_newemac/core.h b/drivers/net/ibm_newemac/core.h index 9e37e3d9c51..4fec0844d59 100644 --- a/drivers/net/ibm_newemac/core.h +++ b/drivers/net/ibm_newemac/core.h | |||
@@ -410,7 +410,7 @@ static inline u32 *emac_xaht_base(struct emac_instance *dev) | |||
410 | else | 410 | else |
411 | offset = offsetof(struct emac_regs, u0.emac4.iaht1); | 411 | offset = offsetof(struct emac_regs, u0.emac4.iaht1); |
412 | 412 | ||
413 | return ((u32 *)((ptrdiff_t)p + offset)); | 413 | return (u32 *)((ptrdiff_t)p + offset); |
414 | } | 414 | } |
415 | 415 | ||
416 | static inline u32 *emac_gaht_base(struct emac_instance *dev) | 416 | static inline u32 *emac_gaht_base(struct emac_instance *dev) |
@@ -418,7 +418,7 @@ static inline u32 *emac_gaht_base(struct emac_instance *dev) | |||
418 | /* GAHT registers always come after an identical number of | 418 | /* GAHT registers always come after an identical number of |
419 | * IAHT registers. | 419 | * IAHT registers. |
420 | */ | 420 | */ |
421 | return (emac_xaht_base(dev) + EMAC_XAHT_REGS(dev)); | 421 | return emac_xaht_base(dev) + EMAC_XAHT_REGS(dev); |
422 | } | 422 | } |
423 | 423 | ||
424 | static inline u32 *emac_iaht_base(struct emac_instance *dev) | 424 | static inline u32 *emac_iaht_base(struct emac_instance *dev) |
@@ -426,7 +426,7 @@ static inline u32 *emac_iaht_base(struct emac_instance *dev) | |||
426 | /* IAHT registers always come before an identical number of | 426 | /* IAHT registers always come before an identical number of |
427 | * GAHT registers. | 427 | * GAHT registers. |
428 | */ | 428 | */ |
429 | return (emac_xaht_base(dev)); | 429 | return emac_xaht_base(dev); |
430 | } | 430 | } |
431 | 431 | ||
432 | /* Ethtool get_regs complex data. | 432 | /* Ethtool get_regs complex data. |