linux/arch/arm/mach-s3c2442/s3c2442.c
<<
>>
Prefs
   1/* linux/arch/arm/mach-s3c2442/s3c2442.c
   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>
  19#include <linux/serial_core.h>
  20#include <linux/sysdev.h>
  21
  22#include <asm/plat-s3c24xx/s3c2442.h>
  23#include <asm/plat-s3c24xx/cpu.h>
  24
  25static struct sys_device s3c2442_sysdev = {
  26        .cls            = &s3c2442_sysclass,
  27};
  28
  29int __init s3c2442_init(void)
  30{
  31        printk("S3C2442: Initialising architecture\n");
  32
  33        return sysdev_register(&s3c2442_sysdev);
  34}
  35