#ifndef _I2C_ELAN_DRIVER_H_
#define _I2C_ELAN_DRIVER_H_
#include <Drivers.h>
#include <KernelExport.h>
#include <OS.h>
#include <util/kernel_cpp.h>
#include "DeviceList.h"
#define DRIVER_NAME "i2c_elan"
#define DEVICE_PATH_SUFFIX "i2c"
#define DEVICE_NAME "I2C"
extern DeviceList *gDeviceList;
#ifdef TRACE_I2C_ELAN
# define TRACE(x...) dprintf(DRIVER_NAME ": " x)
#else
# define TRACE(x...)
#endif
#define ERROR(x...) dprintf(DRIVER_NAME ": " x)
#define TRACE_ALWAYS(x...) dprintf(DRIVER_NAME ": " x)
#define CALLED() TRACE("CALLED %s\n", __PRETTY_FUNCTION__)
#endif