2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

pinctrl: sh-pfc: Stop including <linux/platform_data/gpio-rcar.h>

This header file will be removed soon.

Copy the helper macro RCAR_GP_PIN(), which is used by the pinctrl
drivers only, to sh_pfc.h, and drop the #include.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Geert Uytterhoeven 2015-09-25 10:55:44 +02:00
parent f15f30449a
commit 69af775a18
7 changed files with 5 additions and 6 deletions

View File

@ -23,7 +23,6 @@
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/pinctrl/pinconf-generic.h>
#include <linux/platform_data/gpio-rcar.h>
#include "core.h"
#include "sh_pfc.h"

View File

@ -20,7 +20,6 @@
*/
#include <linux/kernel.h>
#include <linux/platform_data/gpio-rcar.h>
#include "sh_pfc.h"

View File

@ -22,7 +22,6 @@
*/
#include <linux/kernel.h>
#include <linux/platform_data/gpio-rcar.h>
#include "core.h"
#include "sh_pfc.h"

View File

@ -9,7 +9,6 @@
*/
#include <linux/kernel.h>
#include <linux/platform_data/gpio-rcar.h>
#include "core.h"
#include "sh_pfc.h"

View File

@ -11,7 +11,6 @@
*/
#include <linux/kernel.h>
#include <linux/platform_data/gpio-rcar.h>
#include "core.h"
#include "sh_pfc.h"

View File

@ -9,7 +9,6 @@
*/
#include <linux/kernel.h>
#include <linux/platform_data/gpio-rcar.h>
#include "core.h"
#include "sh_pfc.h"

View File

@ -346,4 +346,9 @@ struct sh_pfc_soc_info {
} \
}
/*
* GPIO number helper macro for R-Car
*/
#define RCAR_GP_PIN(bank, pin) (((bank) * 32) + (pin))
#endif /* __SH_PFC_H */