net: usb: ax88179_178a: move priv to driver_priv
authorJustin Chen <justinpopo6@gmail.com>
Thu, 21 Jul 2022 00:28:15 +0000 (17:28 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jul 2022 04:43:59 +0000 (21:43 -0700)
commit2bcbd3d8a7b4525cdb741fe82330edb6f5452c7f
treeb04ad3cfc43c6bc48008297a4e57b2e8657c50a4
parentc4bf747c68892f165e8bf22da2a14dfa304bdaf7
net: usb: ax88179_178a: move priv to driver_priv

We need more space to save WoL context. So lets allocate memory
for ax88179_data instead of using struct usbnet data field which
only supports 5 words. We continue to use the struct usbnet data
field for multicast filters. However since we no longer have the
private data stored there, we can shift it to the beginning.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/ax88179_178a.c