diff options
| author | Joseph Lo <josephl@nvidia.com> | 2017-04-26 22:07:42 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-03 00:04:51 -0400 |
| commit | 228bcfa5f84c0fd7d97292ff1479944696477b04 (patch) | |
| tree | 1cdf50bd3f200743660ddff296b795dced0921b6 /include/linux/platform/tegra | |
| parent | 86d7cb58ca15b3fa5852f49656e5c931e16790df (diff) | |
platform: tegra: ari: resolve module dependence due to clear_serr symbol
When converting TEGRA_18X_SERROR to LKM, we found some symbols
dependence in many drivers. And which causes the modules can not be
inserted by changing any sequence.
This can be fixed by moving the "tegra18_clear_serr" symbol to ari_mca
driver and translating it to "ari_clear_serr". This is more likely the
right place that it should be.
Bug 200299501
Change-Id: I531e595decb1062f07d0f1cc6448c9eb089cf9f5
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1470915
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'include/linux/platform/tegra')
| -rw-r--r-- | include/linux/platform/tegra/ari_mca.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/platform/tegra/ari_mca.h b/include/linux/platform/tegra/ari_mca.h index 6a7d0c584..e6e4ac3ab 100644 --- a/include/linux/platform/tegra/ari_mca.h +++ b/include/linux/platform/tegra/ari_mca.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
| 3 | * | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
| 5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
| @@ -244,4 +244,4 @@ enum { | |||
| 244 | #define get_mca_addr_type(_x_) MCA_ARI_EXTRACT(_x_, 41, 40) | 244 | #define get_mca_addr_type(_x_) MCA_ARI_EXTRACT(_x_, 41, 40) |
| 245 | #define get_mca_addr_addr(_x_) MCA_ARI_EXTRACT(_x_, 39, 0) | 245 | #define get_mca_addr_addr(_x_) MCA_ARI_EXTRACT(_x_, 39, 0) |
| 246 | 246 | ||
| 247 | void tegra18_clear_serr(void); | 247 | void ari_clear_serr(void); |
