move wm8400-regulator's probe function to .devinit.text
[linux-2.6/sactl.git] / arch / arm / mach-s3c2442 / s3c2442.c
blob4663bdc7fff6f26bad2cf161186d805e8a8690c7
1 /* linux/arch/arm/mach-s3c2442/s3c2442.c
3 * Copyright (c) 2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Samsung S3C2442 Mobile CPU support
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.
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>
19 #include <linux/serial_core.h>
20 #include <linux/sysdev.h>
22 #include <plat/s3c2442.h>
23 #include <plat/cpu.h>
25 static struct sys_device s3c2442_sysdev = {
26 .cls = &s3c2442_sysclass,
29 int __init s3c2442_init(void)
31 printk("S3C2442: Initialising architecture\n");
33 return sysdev_register(&s3c2442_sysdev);