diff mbox

host1x: export host1x_syncpt_incr_max function

Message ID 1392848608-15056-1-git-send-email-cooloney@gmail.com
State Not Applicable, archived
Headers show

Commit Message

Bryan Wu Feb. 19, 2014, 10:23 p.m. UTC
From: Bryan Wu <pengw@nvidia.com>

Tegra V4L2 camera driver needs this function to do frame capture.

Signed-off-by: Bryan Wu <pengw@nvidia.com>
---
 include/linux/host1x.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Warren Feb. 19, 2014, 10:24 p.m. UTC | #1
On 02/19/2014 03:23 PM, Bryan Wu wrote:
> Tegra V4L2 camera driver needs this function to do frame capture.

Does it need to be EXPORT_SYMBOL()d too, in case things are modules?

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bryan Wu Feb. 19, 2014, 10:27 p.m. UTC | #2
On Wed, Feb 19, 2014 at 2:24 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 02/19/2014 03:23 PM, Bryan Wu wrote:
>> Tegra V4L2 camera driver needs this function to do frame capture.
>
> Does it need to be EXPORT_SYMBOL()d too, in case things are modules?
>

Sure, I will update this patch to export symbol of it.
Thanks,
-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index 3af8472..d2b5299 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -136,6 +136,7 @@  u32 host1x_syncpt_id(struct host1x_syncpt *sp);
 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
 int host1x_syncpt_incr(struct host1x_syncpt *sp);
+u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
 		       u32 *value);
 struct host1x_syncpt *host1x_syncpt_request(struct device *dev,