commit | f80f4e4d729252eb6124e1afb5dde9f74c35c994 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Apr 12 21:20:31 2020 +0200 |
committer | marex <marex@desktop.lan> | Fri May 01 12:35:21 2020 +0200 |
tree | 65928800a2225f7483cb363de3319ac8073484a3 | |
parent | a5e66e515b0e6615d6e6fed91e20361d9a476831 [diff] |
net: rtl8139: Rework eeprom_delay() macro The macro assumes ee_addr variable to be present when it's being used. Rework the macro into a function instead and pass it an argument specifying the register base address, to make it future proof for DM conversion. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>