diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-06-25 12:31:09 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-26 05:04:41 +0400 |
commit | 644a918d20336a7deaa81f675c3c2f25bf3dafbb (patch) | |
tree | 410075147c7e4dced04a1355373a331ec5d1b30c /arch/arm/boot/dts/imx51-babbage.dts | |
parent | a6eacef7fba7834da4d22762ea0d8524df3993a8 (diff) | |
download | linux-644a918d20336a7deaa81f675c3c2f25bf3dafbb.tar.xz |
enic: Make dummy rfs functions inline to fix !CONFIG_RFS_ACCEL build
If CONFIG_RFS_ACCEL=n:
drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_open':
drivers/net/ethernet/cisco/enic/enic_main.c:1603:2: error: implicit declaration of function 'enic_rfs_flw_tbl_init' [-Werror=implicit-function-declaration]
drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_stop':
drivers/net/ethernet/cisco/enic/enic_main.c:1630:2: error: implicit declaration of function 'enic_rfs_flw_tbl_free' [-Werror=implicit-function-declaration]
Introduced in commit a145df23ef32c7b933875f334ba28791ee75766e ("enic: Add
Accelerated RFS support").
Dummy functions are provided, but their prototypes are missing, causing the
build failure. Provide dummy static inline functions instead to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
0 files changed, 0 insertions, 0 deletions