| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PowerNV OPAL power control for graceful shutdown handling |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2015 IBM Corp. |
|---|
| 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 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #define pr_fmt(fmt) "opal-power: " fmt |
|---|
| .. | .. |
|---|
| 138 | 134 | .priority = 0, |
|---|
| 139 | 135 | }; |
|---|
| 140 | 136 | |
|---|
| 141 | | -static int __init opal_power_control_init(void) |
|---|
| 137 | +int __init opal_power_control_init(void) |
|---|
| 142 | 138 | { |
|---|
| 143 | 139 | int ret, supported = 0; |
|---|
| 144 | 140 | struct device_node *np; |
|---|
| .. | .. |
|---|
| 176 | 172 | |
|---|
| 177 | 173 | return 0; |
|---|
| 178 | 174 | } |
|---|
| 179 | | -machine_subsys_initcall(powernv, opal_power_control_init); |
|---|