added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / common / hidd.i2c / i2c_init.c
blob758dc97d8949e14c1332bf3d47f4194b7809a927
1 /*
2 Copyright © 2003-2006, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/symbolsets.h>
8 #include <exec/execbase.h>
9 #include <exec/types.h>
10 #include <exec/resident.h>
11 #include <exec/libraries.h>
12 #include <exec/memory.h>
13 #include <exec/lists.h>
14 #include <exec/semaphores.h>
15 #include <dos/bptr.h>
17 #include <utility/utility.h>
19 #define DEBUG 1
21 #include <proto/exec.h>
22 #include <proto/oop.h>
23 #include <aros/debug.h>
25 #include "i2c.h"
26 #include LC_LIBDEFS_FILE
28 static int I2C_Init(LIBBASETYPEPTR LIBBASE)
30 InitSemaphore(&LIBBASE->sd.driver_lock);
31 return TRUE;
34 ADD2INITLIB(I2C_Init, 0)