git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316

This commit is contained in:
dzzxzz@gmail.com 2012-05-16 12:26:39 +00:00
parent d82a8cce21
commit 648b45ee26
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ static rt_err_t _spidev_device_control(rt_device_t dev, rt_uint8_t cmd, void *ar
rt_err_t rt_spidev_device_init(struct rt_spi_device* dev, const char* name)
{
struct rt_device* device;
RT_ASSERT(device != RT_NULL);
RT_ASSERT(dev != RT_NULL);
device = &(dev->parent);