ath25: Remove virt_to_phys() from Ethernet driver
[openwrt/staging/mans0n.git] / target / linux / ath25 / patches-5.15 / 110-ar2313_ethernet.patch
index bd998b14274ca01fa3c536ea9b3fe8c5ffee806f..fcb6abff7d7f3cd04e4fb48b2e964be20b7184e7 100644 (file)
@@ -33,7 +33,7 @@
 +obj-$(CONFIG_NET_AR231X) += ar231x.o
 --- /dev/null
 +++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c
-@@ -0,0 +1,1119 @@
+@@ -0,0 +1,1117 @@
 +/*
 + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
 + *
 +MODULE_DESCRIPTION("AR231x Ethernet driver");
 +#endif
 +
-+#define virt_to_phys(x) ((u32)(x) & 0x1fffffff)
-+
 +/* prototypes */
 +static void ar231x_halt(struct net_device *dev);
 +static void rx_tasklet_func(unsigned long data);