]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: ksz8xxx: Replace kernel.h with the necessary inclusions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 4 Jun 2022 06:15:21 +0000 (08:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Jun 2022 03:43:54 +0000 (20:43 -0700)
commit2071605b0b092f52c7feadd83052043cee509f91
tree642442d9af11d442b77e3785cb98622e95883322
parenta4c5177e07bcd41ccf399c2d3151f3fdd04f1678
net: dsa: microchip: ksz8xxx: Replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/41d99ef8629e1db03d4f2662f5556611e0b94652.1654323308.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz8.h