diff options
Diffstat (limited to 'drivers/net/ibm_newemac/mal.h')
-rw-r--r-- | drivers/net/ibm_newemac/mal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibm_newemac/mal.h b/drivers/net/ibm_newemac/mal.h index 6daa98e5992e..784edb8ea822 100644 --- a/drivers/net/ibm_newemac/mal.h +++ b/drivers/net/ibm_newemac/mal.h | |||
@@ -212,12 +212,12 @@ struct mal_instance { | |||
212 | 212 | ||
213 | static inline u32 get_mal_dcrn(struct mal_instance *mal, int reg) | 213 | static inline u32 get_mal_dcrn(struct mal_instance *mal, int reg) |
214 | { | 214 | { |
215 | return dcr_read(mal->dcr_host, mal->dcr_host.base + reg); | 215 | return dcr_read(mal->dcr_host, reg); |
216 | } | 216 | } |
217 | 217 | ||
218 | static inline void set_mal_dcrn(struct mal_instance *mal, int reg, u32 val) | 218 | static inline void set_mal_dcrn(struct mal_instance *mal, int reg, u32 val) |
219 | { | 219 | { |
220 | dcr_write(mal->dcr_host, mal->dcr_host.base + reg, val); | 220 | dcr_write(mal->dcr_host, reg, val); |
221 | } | 221 | } |
222 | 222 | ||
223 | /* Register MAL devices */ | 223 | /* Register MAL devices */ |