Initial commit
[kernel/linux-3.0.git] / drivers / media / isdbt / fc8100 / fci_oal.c
1 /*****************************************************************************
2  Copyright(c) 2009 FCI Inc. All Rights Reserved
3
4  File name : fci_oal.c
5
6  Description : OS Adaptation Layer
7
8  History :
9  ----------------------------------------------------------------------
10  2009/09/13     jason           initial
11 *******************************************************************************/
12
13 #include <linux/kernel.h>
14 #include <linux/delay.h>
15
16 #include "fci_types.h"
17
18 void PRINTF(HANDLE hDevice, char *fmt, ...)
19 {
20         va_list ap;
21         char str[256];
22
23         va_start(ap, fmt);
24         vsprintf(str, fmt, ap);
25
26         printk("%s", str);
27
28         va_end(ap);
29 }
30
31 void msWait(int ms)
32 {
33         msleep(ms);
34 }