]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dm9000: Drop static device private data
authorMarek Vasut <marex@denx.de>
Wed, 13 Apr 2022 02:15:32 +0000 (04:15 +0200)
committerRamon Fried <ramon@neureality.ai>
Wed, 13 Apr 2022 12:13:54 +0000 (15:13 +0300)
commit3928055e4fd2d2b00cacadebee6233e869eadbfc
treeb3023696e9a2fce7361537f51d3b37590861899b
parent8371edd52f5adc36ea5b6811e7fa213e4c6daa37
net: dm9000: Drop static device private data

Allocate driver private data dynamically in its init function and drop
the static driver private data variable. Pass the dynamic private data
throughout the driver. This is done in preparation for DM conversion.

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dm9000x.c