Skip to content

Commit

Permalink
rtc: s3c: make header file local
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Apr 19, 2013
1 parent 93115b7 commit b9d7c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions drivers/rtc/rtc-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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/
*
Expand Down

0 comments on commit b9d7c5d

Please sign in to comment.