mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
net: sparx5: Add #include to remove warning
main.h uses NUM_TARGETS from main_regs.h, but the missing include never causes any errors because everywhere main.h is (currently) included, main_regs.h is included before. But since it is dependent on main_regs.h it should always be included. Signed-off-by: Casper Andersson <casper.casan@gmail.com> Reviewed-by: Joacim Zetterling <joacim.zetterling@westermo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4d08b7b57e
commit
90d4025285
@ -16,6 +16,8 @@
|
||||
#include <linux/phylink.h>
|
||||
#include <linux/hrtimer.h>
|
||||
|
||||
#include "sparx5_main_regs.h"
|
||||
|
||||
/* Target chip type */
|
||||
enum spx5_target_chiptype {
|
||||
SPX5_TARGET_CT_7546 = 0x7546, /* SparX-5-64 Enterprise */
|
||||
|
Loading…
Reference in New Issue
Block a user