hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/pwm/pwm-ep93xx.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PWM framework driver for Cirrus Logic EP93xx
34 *
....@@ -13,16 +14,6 @@
1314 * EP9312/15 have two channels:
1415 * platform device ep93xx-pwm.0 - PWMOUT
1516 * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14)
16
- *
17
- * This program is free software; you can redistribute it and/or
18
- * modify it under the terms of the GNU General Public License
19
- * as published by the Free Software Foundation; either version
20
- * 2 of the License, or (at your option) any later version.
21
- *
22
- * This program is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
2617 */
2718
2819 #include <linux/module.h>
....@@ -35,7 +26,7 @@
3526
3627 #include <asm/div64.h>
3728
38
-#include <mach/platform.h> /* for ep93xx_pwm_{acquire,release}_gpio() */
29
+#include <linux/soc/cirrus/ep93xx.h> /* for ep93xx_pwm_{acquire,release}_gpio() */
3930
4031 #define EP93XX_PWMx_TERM_COUNT 0x00
4132 #define EP93XX_PWMx_DUTY_CYCLE 0x04