From: Kaixu Xia Date: Mon, 26 Jan 2015 16:22:25 +0000 (-0700) Subject: coresight: fix function etm_writel_cp14() parameter order X-Git-Tag: firefly_0821_release~176^2~2322^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5fb31cd839c21130c0b2524ceb9244e98dfe10e3;p=firefly-linux-kernel-4.4.55.git coresight: fix function etm_writel_cp14() parameter order Function etm_writel_cp14() takes an offset and a value rather than the other way around, something this patch is correcting. The semantic remains the same since it is only a function stub. Signed-off-by: Kaixu Xia Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/coresight/coresight-priv.h b/drivers/coresight/coresight-priv.h index 7b3372fca4f6..62fcd98cc7cf 100644 --- a/drivers/coresight/coresight-priv.h +++ b/drivers/coresight/coresight-priv.h @@ -57,7 +57,7 @@ extern int etm_readl_cp14(u32 off, unsigned int *val); extern int etm_writel_cp14(u32 off, u32 val); #else static inline int etm_readl_cp14(u32 off, unsigned int *val) { return 0; } -static inline int etm_writel_cp14(u32 val, u32 off) { return 0; } +static inline int etm_writel_cp14(u32 off, u32 val) { return 0; } #endif #endif