18 #include <linux/module.h>
20 #include <linux/i2c.h>
21 #include <linux/videodev2.h>
34 static int wis_uda1342_command(
struct i2c_client *client,
35 unsigned int cmd,
void *
arg)
62 static int wis_uda1342_probe(
struct i2c_client *client,
71 "wis-uda1342: initializing UDA1342 at address %d on %s\n",
80 static int wis_uda1342_remove(
struct i2c_client *client)
91 static struct i2c_driver wis_uda1342_driver = {
93 .name =
"WIS UDA1342 I2C driver",
95 .probe = wis_uda1342_probe,
96 .remove = wis_uda1342_remove,
97 .command = wis_uda1342_command,
98 .id_table = wis_uda1342_id,
101 static int __init wis_uda1342_init(
void)
103 return i2c_add_driver(&wis_uda1342_driver);
106 static void __exit wis_uda1342_cleanup(
void)