]> git.baikalelectronics.ru Git - kernel.git/commit
net: ks8851: Split out SPI specific entries in struct ks8851_net
authorMarek Vasut <marex@denx.de>
Thu, 28 May 2020 22:21:39 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:30:04 +0000 (16:30 -0700)
commitbe4b16ae9f46dc2c9b0a9dd66edfc03d949457c8
tree9c628ec02e706dcc9bb3ab99c372b0d91a5906a0
parentb53b4ac020d684f857f32b52cbc230db0c62a17a
net: ks8851: Split out SPI specific entries in struct ks8851_net

Add a new struct ks8851_net_spi, which embeds the original
struct ks8851_net and contains the entries specific only to
the SPI variant of KS8851.

There should be no functional change.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Petr Stetiar <ynezz@true.cz>
Cc: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c