[DeviceDrivers] Add modification under Linux

This commit is contained in:
Bernard Xiong 2014-08-04 16:40:40 +08:00
parent 4ee93b7552
commit 0ad17f462d
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ static void _workqueue_thread_entry(void* parameter)
struct rt_workqueue *rt_workqueue_create(const char* name, rt_uint16_t stack_size, rt_uint8_t priority)
{
struct rt_workqueue *queue = RT_NULL;
queue = (struct rt_workqueue*)RT_KERNEL_MALLOC(sizeof(struct rt_workqueue));
if (queue != RT_NULL)
{