]> git.baikalelectronics.ru Git - kernel.git/commit
net: altera: Replace kernel.h with the necessary inclusions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 4 Jun 2022 06:54:20 +0000 (08:54 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 Jun 2022 09:13:43 +0000 (11:13 +0200)
commit44c184c858cb1e1f51587a664738fb860fd53881
tree722fe579b70c1045be81662728b0a5d585d075e4
parenta05fc6af3b19829a4c0beaabbc30b5d96c0cd639
net: altera: 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.

While at it, move these includes below the include guard.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/18731e4f6430100d6500d6c4732ee028a729c085.1654325651.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/altera/altera_utils.h