Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79325a1b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: wfd: add stubs for when MDP is disabled"

parents 1da5843b fcbdf0fd
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -75,8 +75,20 @@ static inline bool mdp_buf_info_equals(struct mdp_buf_info *a,
#define MDP_SECURE  _IO(MDP_MAGIC_IOCTL, 9)


#ifdef CONFIG_FB_MSM_MDSS_WRITEBACK
extern int mdp_init(struct v4l2_subdev *sd, u32 val);
extern long mdp_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
#else
static inline int mdp_init(struct v4l2_subdev *sd, u32 val)
{
	return -ENODEV;
}
static inline long mdp_ioctl(struct v4l2_subdev *sd, unsigned int cmd,
			void *arg)
{
	return -ENODEV;
}
#endif


#endif /* _WFD_MDP_SUBDEV_ */