realtek: Prefer linux/* includes over asm/* ones
authorSven Eckelmann <[email protected]>
Sun, 23 Nov 2025 11:37:20 +0000 (12:37 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 23:28:49 +0000 (00:28 +0100)
It is preferred in the Linux kernel to include the "normal" linux/*
include files instead of the asm includes files when available.

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20906
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c

index 542c029da32ffe0f4ed37c5beee56c2667ffeeda..2cdb726f9a2451c8b4dbb8b738032a0fab12e0e2 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright (C) 2020 B. Koblitz
  */
 
+#include <linux/cacheflush.h>
 #include <linux/dma-mapping.h>
 #include <linux/etherdevice.h>
 #include <linux/interrupt.h>
@@ -18,7 +19,6 @@
 #include <linux/pkt_sched.h>
 #include <net/dsa.h>
 #include <net/switchdev.h>
-#include <asm/cacheflush.h>
 
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
 #include "rtl838x_eth.h"