video: mxsfb: move mxsfb.h into include/linux
Move mxsfb.h into include/linux, so that mxsfb driver does not have to include <mach/*> header. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <mach/mx23.h>
|
#include <mach/mx23.h>
|
||||||
#include <mach/devices-common.h>
|
#include <mach/devices-common.h>
|
||||||
#include <mach/mxsfb.h>
|
#include <linux/mxsfb.h>
|
||||||
#include <linux/amba/bus.h>
|
#include <linux/amba/bus.h>
|
||||||
|
|
||||||
static inline int mx23_add_duart(void)
|
static inline int mx23_add_duart(void)
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <mach/mx28.h>
|
#include <mach/mx28.h>
|
||||||
#include <mach/devices-common.h>
|
#include <mach/devices-common.h>
|
||||||
#include <mach/mxsfb.h>
|
#include <linux/mxsfb.h>
|
||||||
#include <linux/amba/bus.h>
|
#include <linux/amba/bus.h>
|
||||||
|
|
||||||
static inline int mx28_add_duart(void)
|
static inline int mx28_add_duart(void)
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#include <mach/mx23.h>
|
#include <mach/mx23.h>
|
||||||
#include <mach/mx28.h>
|
#include <mach/mx28.h>
|
||||||
#include <mach/devices-common.h>
|
#include <mach/devices-common.h>
|
||||||
#include <mach/mxsfb.h>
|
#include <linux/mxsfb.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SOC_IMX23
|
#ifdef CONFIG_SOC_IMX23
|
||||||
struct platform_device *__init mx23_add_mxsfb(
|
struct platform_device *__init mx23_add_mxsfb(
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
#include <linux/dma-mapping.h>
|
#include <linux/dma-mapping.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/pinctrl/consumer.h>
|
#include <linux/pinctrl/consumer.h>
|
||||||
#include <mach/mxsfb.h>
|
#include <linux/mxsfb.h>
|
||||||
|
|
||||||
#define REG_SET 4
|
#define REG_SET 4
|
||||||
#define REG_CLR 8
|
#define REG_CLR 8
|
||||||
|
@@ -14,8 +14,8 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __MACH_FB_H
|
#ifndef __LINUX_MXSFB_H
|
||||||
#define __MACH_FB_H
|
#define __LINUX_MXSFB_H
|
||||||
|
|
||||||
#include <linux/fb.h>
|
#include <linux/fb.h>
|
||||||
|
|
||||||
@@ -46,4 +46,4 @@ struct mxsfb_platform_data {
|
|||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __MACH_FB_H */
|
#endif /* __LINUX_MXSFB_H */
|
Reference in New Issue
Block a user