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: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Laurent Pinchart 2012-12-15 23:51:55 +01:00 committed by Simon Horman
parent b93911e3d5
commit c3323806a6
21 changed files with 34 additions and 20 deletions

View file

@ -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"

View file

@ -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;

View file

@ -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>

View file

@ -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), \

View file

@ -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), \

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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), \

View file

@ -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), \

View file

@ -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,

View file

@ -1,9 +1,10 @@
#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,

View file

@ -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,

View file

@ -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,

View file

@ -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), \

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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>