diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-05-01 03:47:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-04 05:40:09 +0200 |
commit | f0e9fc503a0d6c9d74ca5b6d1aaf87febbbd9b06 (patch) | |
tree | c93d222764e327b4989991478e1fab93f16c1662 /drivers/net/ethernet | |
parent | net/rds: fix unaligned memory access (diff) | |
download | linux-f0e9fc503a0d6c9d74ca5b6d1aaf87febbbd9b06.tar.xz linux-f0e9fc503a0d6c9d74ca5b6d1aaf87febbbd9b06.zip |
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>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 705bbdf93940..68aec5c460db 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/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> |