of_rtc.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | of_rtc.c (81d7cac4d11cc65f29be68c72759429d5194347a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Instantiate mmio-mapped RTC chips based on device tree information 4 * 5 * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation. 6 */ 7#include <linux/kernel.h> | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Instantiate mmio-mapped RTC chips based on device tree information 4 * 5 * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation. 6 */ 7#include <linux/kernel.h> |
8#include <linux/of.h> | |
9#include <linux/init.h> | 8#include <linux/init.h> |
9#include <linux/of.h> |
|
10#include <linux/of_address.h> | 10#include <linux/of_address.h> |
11#include <linux/of_platform.h> | 11#include <linux/platform_device.h> |
12#include <linux/slab.h> 13 14#include <asm/prom.h> 15 16static __initdata struct { 17 const char *compatible; 18 char *plat_name; 19} of_rtc_table[] = { --- 40 unchanged lines hidden --- | 12#include <linux/slab.h> 13 14#include <asm/prom.h> 15 16static __initdata struct { 17 const char *compatible; 18 char *plat_name; 19} of_rtc_table[] = { --- 40 unchanged lines hidden --- |