| Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | /* linux/arch/arm/mach-s3c2442/s3c2442.c | 
| Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 2 |  * | 
 | 3 |  * Copyright (c) 2006 Simtec Electronics | 
 | 4 |  *   Ben Dooks <ben@simtec.co.uk> | 
 | 5 |  * | 
 | 6 |  * Samsung S3C2442 Mobile CPU support | 
 | 7 |  * | 
 | 8 |  * This program is free software; you can redistribute it and/or modify | 
 | 9 |  * it under the terms of the GNU General Public License version 2 as | 
 | 10 |  * published by the Free Software Foundation. | 
 | 11 | */ | 
 | 12 |  | 
 | 13 | #include <linux/kernel.h> | 
 | 14 | #include <linux/types.h> | 
 | 15 | #include <linux/interrupt.h> | 
 | 16 | #include <linux/list.h> | 
 | 17 | #include <linux/timer.h> | 
 | 18 | #include <linux/init.h> | 
| Ben Dooks | b6d1f54 | 2006-12-17 23:22:26 +0100 | [diff] [blame] | 19 | #include <linux/serial_core.h> | 
| Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 20 | #include <linux/sysdev.h> | 
| Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 21 |  | 
| Ben Dooks | a2b7ba9 | 2008-10-07 22:26:09 +0100 | [diff] [blame] | 22 | #include <plat/s3c2442.h> | 
 | 23 | #include <plat/cpu.h> | 
| Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 24 |  | 
 | 25 | static struct sys_device s3c2442_sysdev = { | 
 | 26 | 	.cls		= &s3c2442_sysclass, | 
 | 27 | }; | 
 | 28 |  | 
 | 29 | int __init s3c2442_init(void) | 
 | 30 | { | 
 | 31 | 	printk("S3C2442: Initialising architecture\n"); | 
 | 32 |  | 
 | 33 | 	return sysdev_register(&s3c2442_sysdev); | 
 | 34 | } |