| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Xilinx SLCR driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2011-2013 Xilinx Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License |
|---|
| 8 | | - * as published by the Free Software Foundation; either version |
|---|
| 9 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * You should have received a copy of the GNU General Public |
|---|
| 12 | | - * License along with this program; if not, write to the Free |
|---|
| 13 | | - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA |
|---|
| 14 | | - * 02139, USA. |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | |
|---|
| 17 | 8 | #include <linux/io.h> |
|---|
| .. | .. |
|---|
| 233 | 224 | |
|---|
| 234 | 225 | register_restart_handler(&zynq_slcr_restart_nb); |
|---|
| 235 | 226 | |
|---|
| 236 | | - pr_info("%s mapped to %p\n", np->name, zynq_slcr_base); |
|---|
| 227 | + pr_info("%pOFn mapped to %p\n", np, zynq_slcr_base); |
|---|
| 237 | 228 | |
|---|
| 238 | 229 | of_node_put(np); |
|---|
| 239 | 230 | |
|---|