summaryrefslogtreecommitdiff
path: root/bsp/sam7x
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/sam7x')
-rw-r--r--bsp/sam7x/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/sam7x/sd.c b/bsp/sam7x/sd.c
index ad93243dcc..ef955d44bc 100644
--- a/bsp/sam7x/sd.c
+++ b/bsp/sam7x/sd.c
@@ -569,7 +569,7 @@ void rt_hw_sdcard_init()
sd.read = rt_sdcard_read;
sd.write = rt_sdcard_write;
sd.control = rt_sdcard_control;
- sd.private = RT_NULL;
+ sd.user_data = RT_NULL;
AT91C_PIOA_PER = CARD_PWR_PIN; // enable GPIO of CS-pin
AT91C_PIOA_CODR = CARD_PWR_PIN; // set high