hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/powerpc/platforms/embedded6xx/flipper-pic.c
....@@ -1,15 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * arch/powerpc/platforms/embedded6xx/flipper-pic.c
34 *
45 * Nintendo GameCube/Wii "Flipper" interrupt controller support.
56 * Copyright (C) 2004-2009 The GameCube Linux Team
67 * 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
- *
138 */
149 #define DRV_MODULE_NAME "flipper-pic"
1510 #define pr_fmt(fmt) DRV_MODULE_NAME ": " fmt
....@@ -149,7 +144,7 @@
149144 }
150145 io_base = ioremap(res.start, resource_size(&res));
151146
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);
153148
154149 __flipper_quiesce(io_base);
155150