]> git.baikalelectronics.ru Git - uboot.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)
commit35f4053b38f2df2784a5cee8dcb6729dfe7f17d3
treeb3023696e9a2fce7361537f51d3b37590861899b
parent7fed073489a6bb34d1c5a10bae865b4b4cd52495
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