diff options
| author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 08:45:08 -0400 |
|---|---|---|
| committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 08:45:08 -0400 |
| commit | 59458f40e25915a355d8b1d701425fe9f4f9ea23 (patch) | |
| tree | f1c9a2934df686e36d75f759ab7313b6f0e0e5f9 /drivers/rtc/class.c | |
| parent | 825f9075d74028d11d7f5932f04e1b5db3022b51 (diff) | |
| parent | d834c16516d1ebec4766fc58c059bf01311e6045 (diff) | |
Merge branch 'master' into gfs2
Diffstat (limited to 'drivers/rtc/class.c')
| -rw-r--r-- | drivers/rtc/class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 1cb61a761cb2..7a0d8ee2de9c 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c | |||
| @@ -39,7 +39,7 @@ static void rtc_device_release(struct class_device *class_dev) | |||
| 39 | * Returns the pointer to the new struct class device. | 39 | * Returns the pointer to the new struct class device. |
| 40 | */ | 40 | */ |
| 41 | struct rtc_device *rtc_device_register(const char *name, struct device *dev, | 41 | struct rtc_device *rtc_device_register(const char *name, struct device *dev, |
| 42 | struct rtc_class_ops *ops, | 42 | const struct rtc_class_ops *ops, |
| 43 | struct module *owner) | 43 | struct module *owner) |
| 44 | { | 44 | { |
| 45 | struct rtc_device *rtc; | 45 | struct rtc_device *rtc; |
| @@ -142,9 +142,9 @@ static void __exit rtc_exit(void) | |||
| 142 | class_destroy(rtc_class); | 142 | class_destroy(rtc_class); |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | module_init(rtc_init); | 145 | subsys_initcall(rtc_init); |
| 146 | module_exit(rtc_exit); | 146 | module_exit(rtc_exit); |
| 147 | 147 | ||
| 148 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towerteh.it>"); | 148 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); |
| 149 | MODULE_DESCRIPTION("RTC class support"); | 149 | MODULE_DESCRIPTION("RTC class support"); |
| 150 | MODULE_LICENSE("GPL"); | 150 | MODULE_LICENSE("GPL"); |
