net: r8169: fix builds on archs without system.h header
PATCH 1/1 net: r8169: fix builds on archs without system.h header
Some architectures do lack <asm/system.h> header, which breaks building RTL8169 for them. However, it doesn't even seem to be needed there. From a quick glance at archs that do have one such header, its contents are quite platform-specific. Getting rid of this include fixes building the driver, so do just that.
Signed-off-by Denis Orlov <[email protected]>
--- drivers/net/r8169_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/r8169_main.c +0 -1
@@ -17,7 +17,6 @@#include <linux/pci.h> #include <linux/sizes.h> #include <asm/unaligned.h> -#include <asm/system.h> #include "r8169.h" #include "r8169_firmware.h"
Signature · 1 line
2.41.0
Sascha Hauer
AppliedQuoted 10 lines · Denis Orlov
Some architectures do lack <
asm/system.h> header, which breaks building RTL8169 for them. However, it doesn't even seem to be needed there. From a quick glance at archs that do have one such header, its contents are quite platform-specific. Getting rid of this include fixes building the driver, so do just that.Signed-off-by Denis Orlov <[email protected]>--- drivers/net/r8169_main.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks
Sascha
Quoted 17 lines
drivers/net/r8169_main.c +0
-1@@ -17,7 +17,6 @@#include <linux/pci.h> #include <linux/sizes.h> #include <asm/unaligned.h> -#include <asm/system.h> #include "r8169.h" #include "r8169_firmware.h" Signature · 1 line
2.41.0
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |