forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/pinctrl/uniphier/pinctrl-uniphier.h
....@@ -1,22 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
23 * Copyright (C) 2015-2017 Socionext Inc.
34 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
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.
145 */
156
167 #ifndef __PINCTRL_UNIPHIER_H__
178 #define __PINCTRL_UNIPHIER_H__
189
19
-#include <linux/bitops.h>
10
+#include <linux/bits.h>
2011 #include <linux/build_bug.h>
2112 #include <linux/kernel.h>
2213 #include <linux/types.h>
....@@ -190,7 +181,7 @@
190181 }
191182
192183 int uniphier_pinctrl_probe(struct platform_device *pdev,
193
- struct uniphier_pinctrl_socdata *socdata);
184
+ const struct uniphier_pinctrl_socdata *socdata);
194185
195186 extern const struct dev_pm_ops uniphier_pinctrl_pm_ops;
196187