brillcodec: fix compilation error. 04/19904/1
authorKitae Kim <kt920.kim@samsung.com>
Wed, 23 Apr 2014 02:21:09 +0000 (11:21 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Wed, 23 Apr 2014 02:21:09 +0000 (11:21 +0900)
qemu_thread_create prototype is changed on 2.0 version

Change-Id: Id9776bc747c3bb645583bd2405db4e2d7bc11536
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
tizen/src/hw/maru_brill_codec.c

index 8194317..9b22a11 100644 (file)
@@ -35,6 +35,7 @@ MULTI_DEBUG_CHANNEL(qemu, brillcodec);
 
 // device
 #define CODEC_DEVICE_NAME   "brillcodec"
+#define CODEC_DEVICE_THREAD "codec-workthread"
 #define CODEC_VERSION       2
 
 // device memory
@@ -162,7 +163,7 @@ static void maru_brill_codec_threads_create(MaruBrillCodecState *s)
     qemu_mutex_unlock(&s->context_mutex);
 
     for (index = 0; index < s->worker_thread_cnt; index++) {
-        qemu_thread_create(&pthread[index],
+        qemu_thread_create(&pthread[index], CODEC_DEVICE_THREAD,
             maru_brill_codec_threads, (void *)s, QEMU_THREAD_JOINABLE);
     }