提交 c3323806 编写于 作者: L Laurent Pinchart 提交者: Simon Horman

sh-pfc: Move sh_pfc.h from include/linux/ to driver directory

The header file isn't used by arch code anymore. Make it private to the
driver.
Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: NPaul Mundt <lethal@linux-sh.org>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 b93911e3
......@@ -21,7 +21,6 @@
#include <linux/module.h>
#include <linux/pinctrl/machine.h>
#include <linux/platform_device.h>
#include <linux/sh_pfc.h>
#include <linux/slab.h>
#include "core.h"
......
......@@ -11,9 +11,10 @@
#define __SH_PFC_CORE_H__
#include <linux/compiler.h>
#include <linux/sh_pfc.h>
#include <linux/types.h>
#include "sh_pfc.h"
struct sh_pfc_window {
phys_addr_t phys;
void __iomem *virt;
......
......@@ -16,7 +16,6 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/sh_pfc.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
......
......@@ -19,10 +19,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <mach/r8a7740.h>
#include <mach/irqs.h>
#include "sh_pfc.h"
#define CPU_ALL_PORT(fn, pfx, sfx) \
PORT_10(fn, pfx, sfx), PORT_90(fn, pfx, sfx), \
PORT_10(fn, pfx##10, sfx), PORT_90(fn, pfx##1, sfx), \
......
......@@ -19,9 +19,10 @@
*/
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <mach/r8a7779.h>
#include "sh_pfc.h"
#define CPU_32_PORT(fn, pfx, sfx) \
PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \
......
......@@ -10,9 +10,10 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7203.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -10,9 +10,10 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7264.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -11,9 +11,10 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7269.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -21,10 +21,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <mach/irqs.h>
#include <mach/sh7372.h>
#include "sh_pfc.h"
#define CPU_ALL_PORT(fn, pfx, sfx) \
PORT_10(fn, pfx, sfx), PORT_90(fn, pfx, sfx), \
PORT_10(fn, pfx##10, sfx), PORT_10(fn, pfx##11, sfx), \
......
......@@ -19,10 +19,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <mach/sh73a0.h>
#include <mach/irqs.h>
#include "sh_pfc.h"
#define CPU_ALL_PORT(fn, pfx, sfx) \
PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
PORT_10(fn, pfx##2, sfx), PORT_10(fn, pfx##3, sfx), \
......
......@@ -10,9 +10,10 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7720.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7722.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -10,9 +10,10 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7723.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -15,9 +15,10 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7724.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -10,9 +10,10 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7734.h>
#include "sh_pfc.h"
#define CPU_32_PORT(fn, pfx, sfx) \
PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \
......
......@@ -15,9 +15,10 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7757.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -10,9 +10,10 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7785.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -15,9 +15,10 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/sh7786.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -9,9 +9,10 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <cpu/shx3.h>
#include "sh_pfc.h"
enum {
PINMUX_RESERVED = 0,
......
......@@ -20,7 +20,6 @@
#include <linux/pinctrl/pinconf-generic.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/sh_pfc.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册