diff options
| author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-06-29 08:27:02 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-04 13:02:38 -0400 |
| commit | 1ff7bc604c3d209b692a0a282109f77f1f6b8f98 (patch) | |
| tree | 4ff47a59a4dcc21f651830d3c1404a9f7fe7f5bb /include/linux | |
| parent | 0adb6de9c5fd1a293d78eaa26e00de1be96063cd (diff) | |
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 <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1173750
Reviewed-on: https://git-master.nvidia.com/r/1768533
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tegra_prod.h | 15 |
1 files changed, 1 insertions, 14 deletions
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 @@ | |||
| 17 | #ifndef _TEGRA_PRODS_H | 17 | #ifndef _TEGRA_PRODS_H |
| 18 | #define _TEGRA_PRODS_H | 18 | #define _TEGRA_PRODS_H |
| 19 | 19 | ||
| 20 | #define PROD_TUPLE_NUM (sizeof(struct prod_tuple)/sizeof(u32)) | 20 | struct tegra_prod_list; |
| 21 | |||
| 22 | /* tegra_prod_list: Tegra Prod list for the given submodule | ||
| 23 | * @n_prod_cells: Number of prod setting cells. | ||
| 24 | * @mask_ones: Mask value type. if it is true than value applied for those | ||
| 25 | * bits whose mask bits are 1s. If it false then value applies | ||
| 26 | * to those bits whose mask bits are 0. | ||
| 27 | */ | ||
| 28 | struct tegra_prod_list { | ||
| 29 | struct tegra_prod *tegra_prod; | ||
| 30 | int num; /* number of tegra_prod*/ | ||
| 31 | int n_prod_cells; | ||
| 32 | bool mask_ones; | ||
| 33 | }; | ||
| 34 | 21 | ||
| 35 | int tegra_prod_set_list(void __iomem **base, | 22 | int tegra_prod_set_list(void __iomem **base, |
| 36 | struct tegra_prod_list *tegra_prod_list); | 23 | struct tegra_prod_list *tegra_prod_list); |
