diff mbox

gpu: ipu-v3: export ipu_csi_set_downsize

Message ID 20170216114031.13623-1-p.zabel@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Philipp Zabel Feb. 16, 2017, 11:40 a.m. UTC
This function will be used by the media drivers and needs to be exported
to allow them to be built as modules.

Reported-by: Russell King <linux@armlinux.org.uk>
Fixes: 867341b95891 ("gpu: ipu-v3: add ipu_csi_set_downsize")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/gpu/ipu-v3/ipu-csi.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Steve Longerbeam Feb. 16, 2017, 5:41 p.m. UTC | #1
On 02/16/2017 03:40 AM, Philipp Zabel wrote:
> This function will be used by the media drivers and needs to be exported
> to allow them to be built as modules.
>
> Reported-by: Russell King <linux@armlinux.org.uk>
> Fixes: 867341b95891 ("gpu: ipu-v3: add ipu_csi_set_downsize")
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>   drivers/gpu/ipu-v3/ipu-csi.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c
> index 63c7292f427a2..24e12b87a0cbe 100644
> --- a/drivers/gpu/ipu-v3/ipu-csi.c
> +++ b/drivers/gpu/ipu-v3/ipu-csi.c
> @@ -544,6 +544,7 @@ void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert)
>   
>   	spin_unlock_irqrestore(&csi->lock, flags);
>   }
> +EXPORT_SYMBOL_GPL(ipu_csi_set_downsize);
>   
>   void ipu_csi_set_test_generator(struct ipu_csi *csi, bool active,
>   				u32 r_value, u32 g_value, u32 b_value,

Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
diff mbox

Patch

diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c
index 63c7292f427a2..24e12b87a0cbe 100644
--- a/drivers/gpu/ipu-v3/ipu-csi.c
+++ b/drivers/gpu/ipu-v3/ipu-csi.c
@@ -544,6 +544,7 @@  void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert)
 
 	spin_unlock_irqrestore(&csi->lock, flags);
 }
+EXPORT_SYMBOL_GPL(ipu_csi_set_downsize);
 
 void ipu_csi_set_test_generator(struct ipu_csi *csi, bool active,
 				u32 r_value, u32 g_value, u32 b_value,