rtc-pl030.c (b675b3667f6729dcd1036a2a129b35445947f905) | rtc-pl030.c (9e5ed094c89e55fbf11d2e81d60be98eb12346c0) |
---|---|
1/* 2 * linux/drivers/rtc/rtc-pl030.c 3 * 4 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 171 unchanged lines hidden (view full) --- 180 .drv = { 181 .name = "rtc-pl030", 182 }, 183 .probe = pl030_probe, 184 .remove = pl030_remove, 185 .id_table = pl030_ids, 186}; 187 | 1/* 2 * linux/drivers/rtc/rtc-pl030.c 3 * 4 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 171 unchanged lines hidden (view full) --- 180 .drv = { 181 .name = "rtc-pl030", 182 }, 183 .probe = pl030_probe, 184 .remove = pl030_remove, 185 .id_table = pl030_ids, 186}; 187 |
188static int __init pl030_init(void) 189{ 190 return amba_driver_register(&pl030_driver); 191} | 188module_amba_driver(pl030_driver); |
192 | 189 |
193static void __exit pl030_exit(void) 194{ 195 amba_driver_unregister(&pl030_driver); 196} 197 198module_init(pl030_init); 199module_exit(pl030_exit); 200 | |
201MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); 202MODULE_DESCRIPTION("ARM AMBA PL030 RTC Driver"); 203MODULE_LICENSE("GPL"); | 190MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); 191MODULE_DESCRIPTION("ARM AMBA PL030 RTC Driver"); 192MODULE_LICENSE("GPL"); |