From 1ff7bc604c3d209b692a0a282109f77f1f6b8f98 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 29 Jun 2016 17:57:02 +0530 Subject: platform: tegra: move struct tegra_prod_list to private The client of prod APIs is nto required to know the definition of the tegra_prod_list and hence moving this to the driver file instead of defining them in public header. Change-Id: If0e75dafeca0fe673186d377ac1f98f4eb2a69c2 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/1173750 Reviewed-on: https://git-master.nvidia.com/r/1768533 Tested-by: Nicolin Chen GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/tegra_prod.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'include/linux') diff --git a/include/linux/tegra_prod.h b/include/linux/tegra_prod.h index 9b9d290b3..35a325a07 100644 --- a/include/linux/tegra_prod.h +++ b/include/linux/tegra_prod.h @@ -17,20 +17,7 @@ #ifndef _TEGRA_PRODS_H #define _TEGRA_PRODS_H -#define PROD_TUPLE_NUM (sizeof(struct prod_tuple)/sizeof(u32)) - -/* tegra_prod_list: Tegra Prod list for the given submodule - * @n_prod_cells: Number of prod setting cells. - * @mask_ones: Mask value type. if it is true than value applied for those - * bits whose mask bits are 1s. If it false then value applies - * to those bits whose mask bits are 0. - */ -struct tegra_prod_list { - struct tegra_prod *tegra_prod; - int num; /* number of tegra_prod*/ - int n_prod_cells; - bool mask_ones; -}; +struct tegra_prod_list; int tegra_prod_set_list(void __iomem **base, struct tegra_prod_list *tegra_prod_list); -- cgit v1.2.2