Loading drivers/media/platform/msm/wfd/mdp-subdev.h +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 Loading Loading @@ -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_ */ Loading
drivers/media/platform/msm/wfd/mdp-subdev.h +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 Loading Loading @@ -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_ */