Explorar o código

drivers/net: include <module.h> for modular stmmac_platform code

This file is built off of a tristate Kconfig option and also contains
modular function calls so it should explicitly include module.h to
avoid compile breakage during header shuffles done in the future.

Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Paul Gortmaker %!s(int64=10) %!d(string=hai) anos
pai
achega
f0e9fc503a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

+ 1 - 0
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

@@ -23,6 +23,7 @@
 *******************************************************************************/
 
 #include <linux/platform_device.h>
+#include <linux/module.h>
 #include <linux/io.h>
 #include <linux/of.h>
 #include <linux/of_net.h>