dcr.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) dcr.c (e6f6390ab7b9d649c13de2c8a591bce61a10ec3b)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
4 * <benh@kernel.crashing.org>
5 */
6
7#undef DEBUG
8
9#include <linux/kernel.h>
10#include <linux/export.h>
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
4 * <benh@kernel.crashing.org>
5 */
6
7#undef DEBUG
8
9#include <linux/kernel.h>
10#include <linux/export.h>
11#include <asm/prom.h>
11#include <linux/of_address.h>
12#include <asm/dcr.h>
13
14#ifdef CONFIG_PPC_DCR_MMIO
15static struct device_node *find_dcr_parent(struct device_node *node)
16{
17 struct device_node *par, *tmp;
18 const u32 *p;
19

--- 203 unchanged lines hidden ---
12#include <asm/dcr.h>
13
14#ifdef CONFIG_PPC_DCR_MMIO
15static struct device_node *find_dcr_parent(struct device_node *node)
16{
17 struct device_node *par, *tmp;
18 const u32 *p;
19

--- 203 unchanged lines hidden ---