Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

move drivers/mfd/*.h to include/linux/mfd

So drivers like collie_battery driver can use
those files easier.

authored by

Thomas Kunze and committed by
Thomas Kunze
c8602edf 1d0ad843

+9 -7
+1 -1
drivers/mfd/mcp-core.c
··· 17 17 #include <linux/device.h> 18 18 #include <linux/slab.h> 19 19 #include <linux/string.h> 20 + #include <linux/mfd/mcp.h> 20 21 21 22 #include <mach/dma.h> 22 23 #include <asm/system.h> 23 24 24 - #include "mcp.h" 25 25 26 26 #define to_mcp(d) container_of(d, struct mcp, attached_device) 27 27 #define to_mcp_driver(d) container_of(d, struct mcp_driver, drv)
+1 -1
drivers/mfd/mcp-sa11x0.c
··· 19 19 #include <linux/spinlock.h> 20 20 #include <linux/slab.h> 21 21 #include <linux/platform_device.h> 22 + #include <linux/mfd/mcp.h> 22 23 23 24 #include <mach/dma.h> 24 25 #include <mach/hardware.h> ··· 29 28 30 29 #include <mach/assabet.h> 31 30 32 - #include "mcp.h" 33 31 34 32 struct mcp_sa11x0 { 35 33 u32 mccr0;
+2
drivers/mfd/mcp.h include/linux/mfd/mcp.h
··· 10 10 #ifndef MCP_H 11 11 #define MCP_H 12 12 13 + #include <mach/dma.h> 14 + 13 15 struct mcp_ops; 14 16 15 17 struct mcp {
+1 -1
drivers/mfd/ucb1x00-assabet.c
··· 14 14 #include <linux/fs.h> 15 15 #include <linux/proc_fs.h> 16 16 #include <linux/device.h> 17 + #include <linux/mfd/ucb1x00.h> 17 18 18 19 #include <mach/dma.h> 19 20 20 - #include "ucb1x00.h" 21 21 22 22 #define UCB1X00_ATTR(name,input)\ 23 23 static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \
+1 -1
drivers/mfd/ucb1x00-core.c
··· 25 25 #include <linux/interrupt.h> 26 26 #include <linux/device.h> 27 27 #include <linux/mutex.h> 28 + #include <linux/mfd/ucb1x00.h> 28 29 29 30 #include <mach/dma.h> 30 31 #include <mach/hardware.h> 31 32 32 - #include "ucb1x00.h" 33 33 34 34 static DEFINE_MUTEX(ucb1x00_mutex); 35 35 static LIST_HEAD(ucb1x00_drivers);
+1 -1
drivers/mfd/ucb1x00-ts.c
··· 30 30 #include <linux/freezer.h> 31 31 #include <linux/slab.h> 32 32 #include <linux/kthread.h> 33 + #include <linux/mfd/ucb1x00.h> 33 34 34 35 #include <mach/dma.h> 35 36 #include <mach/collie.h> 36 37 #include <asm/mach-types.h> 37 38 38 - #include "ucb1x00.h" 39 39 40 40 41 41 struct ucb1x00_ts {
+2 -2
drivers/mfd/ucb1x00.h include/linux/mfd/ucb1x00.h
··· 1 1 /* 2 - * linux/drivers/mfd/ucb1x00.h 2 + * linux/include/mfd/ucb1x00.h 3 3 * 4 4 * Copyright (C) 2001 Russell King, All Rights Reserved. 5 5 * ··· 10 10 #ifndef UCB1200_H 11 11 #define UCB1200_H 12 12 13 + #include <linux/mfd/mcp.h> 13 14 #define UCB_IO_DATA 0x00 14 15 #define UCB_IO_DIR 0x01 15 16 ··· 101 100 #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) 102 101 #define UCB_MODE_AUD_OFF_CAN (1 << 13) 103 102 104 - #include "mcp.h" 105 103 106 104 struct ucb1x00_irq { 107 105 void *devid;