summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/sram/sram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/sram/sram.c')
-rw-r--r--src/soc/intel/common/block/sram/sram.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c
index 49367e196b..9028952286 100644
--- a/src/soc/intel/common/block/sram/sram.c
+++ b/src/soc/intel/common/block/sram/sram.c
@@ -14,13 +14,14 @@
* GNU General Public License for more details.
*/
+#include <compiler.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <intelblocks/sram.h>
#include <soc/iomap.h>
-__attribute__((weak)) void soc_sram_init(struct device *dev) { /* no-op */ }
+__weak void soc_sram_init(struct device *dev) { /* no-op */ }
static void sram_read_resources(struct device *dev)
{