]> err.no Git - linux-2.6/blobdiff - drivers/rtc/rtc-pcf8563.c
sparc: remove include of linux/of_device.h from asm/of_device.h
[linux-2.6] / drivers / rtc / rtc-pcf8563.c
index 7b3c31db0fc043eff0c5f73738a6d511d3aaf4c8..748a502a63558fd499e26d56338132aabcae85f2 100644 (file)
@@ -300,12 +300,20 @@ static int pcf8563_remove(struct i2c_client *client)
        return 0;
 }
 
+static const struct i2c_device_id pcf8563_id[] = {
+       { "pcf8563", 0 },
+       { "rtc8564", 0 },
+       { }
+};
+MODULE_DEVICE_TABLE(i2c, pcf8563_id);
+
 static struct i2c_driver pcf8563_driver = {
        .driver         = {
                .name   = "rtc-pcf8563",
        },
        .probe          = pcf8563_probe,
        .remove         = pcf8563_remove,
+       .id_table       = pcf8563_id,
 };
 
 static int __init pcf8563_init(void)