OSDN Git Service

rtc: at91sam9: remove references to mach specific headers
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 23 Sep 2014 11:13:29 +0000 (13:13 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 13 Nov 2014 15:07:58 +0000 (16:07 +0100)
commit6575bd7cbcc40dcdffb62e710ab2cd05355396c6
treeb9c76b4206d80d2ddda92e3b3b9bf461648935b3
parentcac7f2429872d3733dc3f9915857b1691da2eb2f
rtc: at91sam9: remove references to mach specific headers

In order to support multi platform kernel drivers should not include
machine specific headers.
Copy RTT macros in the driver code and remove any machine specific
headers.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Johan Hovold <johan@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/rtc/rtc-at91sam9.c