commit | 77676d5b02ac81c59012e80b0432ac0fdb230a51 | [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 | 230d982b3d95574bda440a94bc474d9c165612c2 [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>