|
@@ -23,7 +23,6 @@
|
|
|
*/
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/serial_8250.h>
|
|
|
-#include <linux/mc146818rtc.h>
|
|
|
#include <linux/module.h>
|
|
|
#include <linux/irq.h>
|
|
|
#include <linux/mtd/partitions.h>
|
|
@@ -68,25 +67,6 @@ static struct platform_device malta_uart8250_device = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-struct resource malta_rtc_resources[] = {
|
|
|
- {
|
|
|
- .start = RTC_PORT(0),
|
|
|
- .end = RTC_PORT(7),
|
|
|
- .flags = IORESOURCE_IO,
|
|
|
- }, {
|
|
|
- .start = RTC_IRQ,
|
|
|
- .end = RTC_IRQ,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- }
|
|
|
-};
|
|
|
-
|
|
|
-static struct platform_device malta_rtc_device = {
|
|
|
- .name = "rtc_cmos",
|
|
|
- .id = -1,
|
|
|
- .resource = malta_rtc_resources,
|
|
|
- .num_resources = ARRAY_SIZE(malta_rtc_resources),
|
|
|
-};
|
|
|
-
|
|
|
static struct mtd_partition malta_mtd_partitions[] = {
|
|
|
{
|
|
|
.name = "YAMON",
|
|
@@ -129,7 +109,6 @@ static struct platform_device malta_flash_device = {
|
|
|
|
|
|
static struct platform_device *malta_devices[] __initdata = {
|
|
|
&malta_uart8250_device,
|
|
|
- &malta_rtc_device,
|
|
|
&malta_flash_device,
|
|
|
};
|
|
|
|