]> git.baikalelectronics.ru Git - uboot.git/commit
net: pcnet: Move private data allocation to initialize
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 17 May 2020 14:26:00 +0000 (16:26 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000 (19:34 +0200)
commit45206859d4cb2c1c044eb7693698eb567c9d4fa0
treeb889a5e12f744c9b9b2c0ccb742c67017a4ff85a
parent5f1f39ba133e27f503dc9cb484594c2118d86333
net: pcnet: Move private data allocation to initialize

The private data allocation does not have to be done every time the
NIC is initialized at run time, move the allocation to initialize
function, which means it will be done only once when the driver
starts.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/pcnet.c