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)
commit67074ae6af59c7d9112535e6f8449bc59f66df40
tree642442d9af11d442b77e3785cb98622e95883322
parentba36c5b7ac9399a8dc521c44ece72db43d192f9b
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