]> Pileus Git - ~andy/linux/commitdiff
rtc: s3c: make header file local
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Mar 2013 11:04:37 +0000 (12:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 11:51:25 +0000 (13:51 +0200)
Nothing outside of the rtc driver includes plat/regs-rtc.h,
so we can simply move the file into the same directory,
which allows us to build the file as platform-independent
code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: rtc-linux@googlegroups.com
Cc: Alessandro Zummo <a.zummo@towertech.it>
drivers/rtc/rtc-s3c.c
drivers/rtc/rtc-s3c.h [moved from arch/arm/plat-samsung/include/plat/regs-rtc.h with 97% similarity]

index fb994e9ddc156de9a98465531db161202826fe57..7995f79d07e10d4e1f09888ea673a8ad95986cd9 100644 (file)
@@ -29,9 +29,8 @@
 #include <linux/uaccess.h>
 #include <linux/io.h>
 
-#include <mach/hardware.h>
 #include <asm/irq.h>
-#include <plat/regs-rtc.h>
+#include "rtc-s3c.h"
 
 enum s3c_cpu_type {
        TYPE_S3C2410,
similarity index 97%
rename from arch/arm/plat-samsung/include/plat/regs-rtc.h
rename to drivers/rtc/rtc-s3c.h
index 0f8263e93eea94678b28f8e8d60cbbc1f6a48763..004b61a8343ff8896305c426dc298a33adddc13c 100644 (file)
@@ -1,5 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/regs-rtc.h
- *
+/*
  * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
  *                   http://www.simtec.co.uk/products/SWLINUX/
  *