hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/rtc/rtc-opal.c
....@@ -1,19 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * IBM OPAL RTC driver
34 * Copyright (C) 2014 IBM
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program.
175 */
186
197 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -224,7 +212,7 @@
224212 return rc;
225213 }
226214
227
-int opal_tpo_alarm_irq_enable(struct device *dev, unsigned int enabled)
215
+static int opal_tpo_alarm_irq_enable(struct device *dev, unsigned int enabled)
228216 {
229217 struct rtc_wkalrm alarm = { .enabled = 0 };
230218