summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/amd/sb800/sata.c2
-rw-r--r--src/southbridge/amd/sb800/sb800.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb800/sata.c b/src/southbridge/amd/sb800/sata.c
index 5ac61446fa..bd35e50fe7 100644
--- a/src/southbridge/amd/sb800/sata.c
+++ b/src/southbridge/amd/sb800/sata.c
@@ -53,7 +53,7 @@ static int sata_drive_detect(int portnum, u16 iobar)
return 0;
}
-void __attribute__((weak)) sb800_setup_sata_phys(struct device *dev)
+static void sb800_setup_sata_phys(struct device *dev)
{
int i;
static const u32 sata_phy[][3] = {
diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h
index 25e3f1ff09..5d299c82f9 100644
--- a/src/southbridge/amd/sb800/sb800.h
+++ b/src/southbridge/amd/sb800/sb800.h
@@ -60,7 +60,6 @@ int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos);
#else
void sb800_enable(device_t dev);
-void __attribute__((weak)) sb800_setup_sata_phys(struct device *dev);
#endif
#endif /* SB800_H */