xserver-multidpi/hw/xfree86/i2c/xf86i2cmodule.c

37 lines
821 B
C
Raw Normal View History

2003-11-14 17:48:57 +01:00
/* (c) Itai Nahshon
*
* This code is derived from and inspired by the I2C driver
* from the Linux kernel.
* (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
2003-11-14 17:48:57 +01:00
#include "xf86Module.h"
static MODULESETUPPROTO(i2cSetup);
static XF86ModuleVersionInfo i2cVersRec =
{
"i2c",
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
2004-04-23 21:54:30 +02:00
XORG_VERSION_CURRENT,
2003-11-14 17:48:57 +01:00
1, 2, 0,
ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */
ABI_VIDEODRV_VERSION,
MOD_CLASS_NONE,
{0,0,0,0}
};
_X_EXPORT XF86ModuleData i2cModuleData = { &i2cVersRec, i2cSetup, NULL };
2003-11-14 17:48:57 +01:00
static pointer
i2cSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
/* ErrorF("i2cSetup\n"); */
return (pointer)1;
}