]> err.no Git - linux-2.6/blobdiff - drivers/rtc/rtc-x1205.c
ehea: Access iph->tot_len with correct endianness
[linux-2.6] / drivers / rtc / rtc-x1205.c
index b792ad4dcaa9b22cb40d8782261825b7db8d27f5..eaf55945f21bbf860318a082b24463caa8648ebc 100644 (file)
@@ -553,12 +553,19 @@ static int x1205_remove(struct i2c_client *client)
        return 0;
 }
 
+static const struct i2c_device_id x1205_id[] = {
+       { "x1205", 0 },
+       { }
+};
+MODULE_DEVICE_TABLE(i2c, x1205_id);
+
 static struct i2c_driver x1205_driver = {
        .driver         = {
                .name   = "rtc-x1205",
        },
        .probe          = x1205_probe,
        .remove         = x1205_remove,
+       .id_table       = x1205_id,
 };
 
 static int __init x1205_init(void)