/* * rcar-fcp.h -- R-Car Frame Compression Processor Driver * * Copyright (C) 2016 Renesas Electronics Corporation * * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */#ifndef __MEDIA_RCAR_FCP_H__#define __MEDIA_RCAR_FCP_H__structdevice_node;structrcar_fcp_device;#if IS_ENABLED(CONFIG_VIDEO_RENESAS_FCP)structrcar_fcp_device*rcar_fcp_get(conststructdevice_node*np);voidrcar_fcp_put(structrcar_fcp_device*fcp);intrcar_fcp_enable(structrcar_fcp_device*fcp);voidrcar_fcp_disable(structrcar_fcp_device*fcp);#elsestaticinlinestructrcar_fcp_device*rcar_fcp_get(conststructdevice_node*np){returnERR_PTR(-ENOENT);}staticinlinevoidrcar_fcp_put(structrcar_fcp_device*fcp){}staticinlineintrcar_fcp_enable(structrcar_fcp_device*fcp){return-ENOSYS;}staticinlinevoidrcar_fcp_disable(structrcar_fcp_device*fcp){}#endif#endif /* __MEDIA_RCAR_FCP_H__ */