From 228bcfa5f84c0fd7d97292ff1479944696477b04 Mon Sep 17 00:00:00 2001 From: Joseph Lo Date: Thu, 27 Apr 2017 10:07:42 +0800 Subject: 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 Reviewed-on: http://git-master/r/1470915 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam --- include/linux/platform/tegra/ari_mca.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/platform/tegra') 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 @@ /* - * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -244,4 +244,4 @@ enum { #define get_mca_addr_type(_x_) MCA_ARI_EXTRACT(_x_, 41, 40) #define get_mca_addr_addr(_x_) MCA_ARI_EXTRACT(_x_, 39, 0) -void tegra18_clear_serr(void); +void ari_clear_serr(void); -- cgit v1.2.2