.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/powerpc/platforms/embedded6xx/flipper-pic.c |
---|
3 | 4 | * |
---|
4 | 5 | * Nintendo GameCube/Wii "Flipper" interrupt controller support. |
---|
5 | 6 | * Copyright (C) 2004-2009 The GameCube Linux Team |
---|
6 | 7 | * Copyright (C) 2007,2008,2009 Albert Herranz |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or |
---|
9 | | - * modify it under the terms of the GNU General Public License |
---|
10 | | - * as published by the Free Software Foundation; either version 2 |
---|
11 | | - * of the License, or (at your option) any later version. |
---|
12 | | - * |
---|
13 | 8 | */ |
---|
14 | 9 | #define DRV_MODULE_NAME "flipper-pic" |
---|
15 | 10 | #define pr_fmt(fmt) DRV_MODULE_NAME ": " fmt |
---|
.. | .. |
---|
149 | 144 | } |
---|
150 | 145 | io_base = ioremap(res.start, resource_size(&res)); |
---|
151 | 146 | |
---|
152 | | - pr_info("controller at 0x%08x mapped to 0x%p\n", res.start, io_base); |
---|
| 147 | + pr_info("controller at 0x%pa mapped to 0x%p\n", &res.start, io_base); |
---|
153 | 148 | |
---|
154 | 149 | __flipper_quiesce(io_base); |
---|
155 | 150 | |
---|