forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/arm/mach-pxa/viper.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-pxa/viper.c
34 *
....@@ -14,10 +15,6 @@
1415 * Author: Nicolas Pitre
1516 * Created: Jun 15, 2001
1617 * Copyright: MontaVista Software Inc.
17
- *
18
- * This program is free software; you can redistribute it and/or modify
19
- * it under the terms of the GNU General Public License version 2 as
20
- * published by the Free Software Foundation.
2118 */
2219
2320 #include <linux/types.h>
....@@ -58,7 +55,7 @@
5855 #include <asm/setup.h>
5956 #include <asm/mach-types.h>
6057 #include <asm/irq.h>
61
-#include <asm/sizes.h>
58
+#include <linux/sizes.h>
6259 #include <asm/system_info.h>
6360
6461 #include <asm/mach/arch.h>
....@@ -407,7 +404,6 @@
407404 static struct platform_pwm_backlight_data viper_backlight_data = {
408405 .max_brightness = 100,
409406 .dft_brightness = 100,
410
- .enable_gpio = -1,
411407 .init = viper_backlight_init,
412408 .notify = viper_backlight_notify,
413409 .exit = viper_backlight_exit,