summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2013-06-14 12:28:51 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:17:42 -0700
commite79497861ed03d4392a0ad456f55ac9d99b44886 (patch)
tree26eee7061d8b852791075cf22c745fe48341ef0c
parent0184f29bdf2ee4a9658256ef81afdf0d51964ffe (diff)
media: video: tegra: export nvc utility APIs
Camera drivers can be built as kernel modules and those need to access nvc utility APIS. Export these APIs for camera kernel modules. Bug 1327616 Change-Id: Ia513672523e8725cc05cbb193e4402a92688789d Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/238791 (cherry picked from commit 2d01f66fefb7f9250019ee1c7619e2b393e9ece5) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/250822 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Dan Willemsen <dwillemsen@nvidia.com>
-rw-r--r--drivers/media/video/tegra/nvc_utilities.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/tegra/nvc_utilities.c b/drivers/media/video/tegra/nvc_utilities.c
index 26bd63d2a8d9..d1056d204e66 100644
--- a/drivers/media/video/tegra/nvc_utilities.c
+++ b/drivers/media/video/tegra/nvc_utilities.c
@@ -19,6 +19,8 @@
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/string.h>
+#include <linux/export.h>
+
#include "nvc_utilities.h"
int nvc_imager_parse_caps(struct device_node *np,
@@ -81,6 +83,7 @@ int nvc_imager_parse_caps(struct device_node *np,
return 0;
}
+EXPORT_SYMBOL(nvc_imager_parse_caps);
unsigned long nvc_imager_get_mclk(const struct nvc_imager_cap *cap,
const struct nvc_imager_cap *cap_default,
@@ -113,4 +116,4 @@ unsigned long nvc_imager_get_mclk(const struct nvc_imager_cap *cap,
return mclk_freq_khz * 1000;
}
-
+EXPORT_SYMBOL(nvc_imager_get_mclk);