From 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:44:59 +0000
Subject: [PATCH] gmac get mac form eeprom
---
kernel/arch/alpha/include/asm/core_t2.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/arch/alpha/include/asm/core_t2.h b/kernel/arch/alpha/include/asm/core_t2.h
index e0b33d0..12bb7ad 100644
--- a/kernel/arch/alpha/include/asm/core_t2.h
+++ b/kernel/arch/alpha/include/asm/core_t2.h
@@ -572,7 +572,7 @@
it doesn't make sense to merge the pio and mmio routines. */
#define IOPORT(OS, NS) \
-__EXTERN_INLINE unsigned int t2_ioread##NS(void __iomem *xaddr) \
+__EXTERN_INLINE unsigned int t2_ioread##NS(const void __iomem *xaddr) \
{ \
if (t2_is_mmio(xaddr)) \
return t2_read##OS(xaddr); \
--
Gitblit v1.6.2