summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tegra_prod.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/tegra_prod.h b/include/linux/tegra_prod.h
index 6887ef42b..1a33bf20e 100644
--- a/include/linux/tegra_prod.h
+++ b/include/linux/tegra_prod.h
@@ -62,6 +62,18 @@ int tegra_prod_set_by_name(void __iomem **base, const char *name,
62 struct tegra_prod *tegra_prod); 62 struct tegra_prod *tegra_prod);
63 63
64/** 64/**
65 * tegra_prod_by_name_supported - Tell whether tegra prod will be supported by
66 * given name or not.
67 * @tegra_prod: the list of tegra prods.
68 * @name: the name of tegra prod need to set.
69 *
70 * Find the tegra prod in the list according to the name. If it exist then
71 * return true else false.
72 */
73bool tegra_prod_by_name_supported(struct tegra_prod *tegra_prod,
74 const char *name);
75
76/**
65 * devm_tegra_prod_get(): Get the prod handle from the device. 77 * devm_tegra_prod_get(): Get the prod handle from the device.
66 * @dev: Device handle on which prod setting nodes are available. 78 * @dev: Device handle on which prod setting nodes are available.
67 * 79 *