summaryrefslogtreecommitdiffstats
path: root/drivers/eeprom/at25.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/eeprom/at25.c')
-rw-r--r--drivers/eeprom/at25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/eeprom/at25.c b/drivers/eeprom/at25.c
index 03d191eb90..5578c783ad 100644
--- a/drivers/eeprom/at25.c
+++ b/drivers/eeprom/at25.c
@@ -312,7 +312,7 @@ static struct driver_d at25_driver = {
static int at25_init(void)
{
- register_driver(&at25_driver);
+ spi_register_driver(&at25_driver);
return 0;
}