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 9bd7748c64..e2e6ef4a8e 100644
--- a/drivers/eeprom/at25.c
+++ b/drivers/eeprom/at25.c
@@ -307,7 +307,7 @@ static struct driver_d at25_driver = {
static int at25_init(void)
{
- spi_register_driver(&at25_driver);
+ spi_driver_register(&at25_driver);
return 0;
}