]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: fix include guards in mvpp2_prs.h
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 12 Jul 2018 11:54:10 +0000 (13:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:30:47 +0000 (17:30 -0700)
commit2c8bece3020007eef96ac8cd6e5172ab89356642
tree1d352fe9ea55a2b44dac6c6a56d91dc9ffba1277
parentf45cf7a652d82971e721bf36d6c85c72b7d26cf1
net: mvpp2: fix include guards in mvpp2_prs.h

Include guards should be put before #includes. This doesn't fix any bug,
but prevent future compilation issues when adding new files in the mvpp2
driver

The Header Parser init function needs the platform_device definition,
and with the fixed include guards we need to add the missing include.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h