of_rtc.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) of_rtc.c (26a2056eb21fff26caf99d19ad5448e9403db55d)
1/*
2 * Instantiate mmio-mapped RTC chips based on device tree information
3 *
4 * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11#include <linux/kernel.h>
12#include <linux/of.h>
13#include <linux/init.h>
1/*
2 * Instantiate mmio-mapped RTC chips based on device tree information
3 *
4 * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11#include <linux/kernel.h>
12#include <linux/of.h>
13#include <linux/init.h>
14#include <linux/of_address.h>
14#include <linux/of_platform.h>
15#include <linux/slab.h>
16
17static __initdata struct {
18 const char *compatible;
19 char *plat_name;
20} of_rtc_table[] = {
21 { "ds1743-nvram", "rtc-ds1742" },

--- 39 unchanged lines hidden ---
15#include <linux/of_platform.h>
16#include <linux/slab.h>
17
18static __initdata struct {
19 const char *compatible;
20 char *plat_name;
21} of_rtc_table[] = {
22 { "ds1743-nvram", "rtc-ds1742" },

--- 39 unchanged lines hidden ---