forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/powerpc/platforms/4xx/cpm.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PowerPC 4xx Clock and Power Management
34 *
....@@ -14,21 +15,6 @@
1415 *
1516 * See file CREDITS for list of people who contributed to this
1617 * project.
17
- *
18
- * This program is free software; you can redistribute it and/or
19
- * modify it under the terms of the GNU General Public License as
20
- * published by the Free Software Foundation; either version 2 of
21
- * the License, or (at your option) any later version.
22
- *
23
- * This program is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- * GNU General Public License for more details.
27
- *
28
- * You should have received a copy of the GNU General Public License
29
- * along with this program; if not, write to the Free Software
30
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31
- * MA 02111-1307 USA
3218 */
3319
3420 #include <linux/kernel.h>
....@@ -341,6 +327,6 @@
341327 static int __init cpm_powersave_off(char *arg)
342328 {
343329 cpm.powersave_off = 1;
344
- return 0;
330
+ return 1;
345331 }
346332 __setup("powersave=off", cpm_powersave_off);