diff options
| author | bernard.xiong <[email protected]> | 2010-11-29 07:49:59 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-11-29 07:49:59 +0000 |
| commit | 4d88d694d53b3bd3388226433634d7a7e4b1d895 (patch) | |
| tree | 5833d139eb0527c767ccc488b84e0937b43ad5b2 /bsp/sam7x | |
| parent | 5d8c15c4bbe91ffe3cf35461e7a8a9b527c18d22 (diff) | |
rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1135 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/sam7x')
| -rw-r--r-- | bsp/sam7x/sd.c | 2 |
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
|
