rtc-x1205.c (f26e8817b235d8764363bffcc9cbfc61867371f2) rtc-x1205.c (6875404fdb44f5353ef374c7c95c7701862fe2b3)
1/*
2 * An i2c driver for the Xicor/Intersil X1205 RTC
3 * Copyright 2004 Karen Spearel
4 * Copyright 2005 Alessandro Zummo
5 *
6 * please send all reports to:
7 * Karen Spearel <kas111 at gmail dot com>
8 * Alessandro Zummo <a.zummo@towertech.it>

--- 659 unchanged lines hidden (view full) ---

668}
669
670static const struct i2c_device_id x1205_id[] = {
671 { "x1205", 0 },
672 { }
673};
674MODULE_DEVICE_TABLE(i2c, x1205_id);
675
1/*
2 * An i2c driver for the Xicor/Intersil X1205 RTC
3 * Copyright 2004 Karen Spearel
4 * Copyright 2005 Alessandro Zummo
5 *
6 * please send all reports to:
7 * Karen Spearel <kas111 at gmail dot com>
8 * Alessandro Zummo <a.zummo@towertech.it>

--- 659 unchanged lines hidden (view full) ---

668}
669
670static const struct i2c_device_id x1205_id[] = {
671 { "x1205", 0 },
672 { }
673};
674MODULE_DEVICE_TABLE(i2c, x1205_id);
675
676static const struct of_device_id x1205_dt_ids[] = {
677 { .compatible = "xircom,x1205", },
678 {},
679};
680MODULE_DEVICE_TABLE(of, x1205_dt_ids);
681
676static struct i2c_driver x1205_driver = {
677 .driver = {
678 .name = "rtc-x1205",
682static struct i2c_driver x1205_driver = {
683 .driver = {
684 .name = "rtc-x1205",
685 .of_match_table = x1205_dt_ids,
679 },
680 .probe = x1205_probe,
681 .remove = x1205_remove,
682 .id_table = x1205_id,
683};
684
685module_i2c_driver(x1205_driver);
686
687MODULE_AUTHOR(
688 "Karen Spearel <kas111 at gmail dot com>, "
689 "Alessandro Zummo <a.zummo@towertech.it>");
690MODULE_DESCRIPTION("Xicor/Intersil X1205 RTC driver");
691MODULE_LICENSE("GPL");
686 },
687 .probe = x1205_probe,
688 .remove = x1205_remove,
689 .id_table = x1205_id,
690};
691
692module_i2c_driver(x1205_driver);
693
694MODULE_AUTHOR(
695 "Karen Spearel <kas111 at gmail dot com>, "
696 "Alessandro Zummo <a.zummo@towertech.it>");
697MODULE_DESCRIPTION("Xicor/Intersil X1205 RTC driver");
698MODULE_LICENSE("GPL");