2021-12-15 13:21:19

by Ajith P V

[permalink] [raw]
Subject: [PATCH] binder: use proper cacheflush header file

binder.c uses <asm/cacheflush.h> instead of <linux/cacheflush.h>.
Hence change cacheflush header file to proper one.

This change also avoid warning from checkpatch that shown below:
WARNING: Use #include <linux/cacheflush.h> instead of <asm/cacheflush.h>

Signed-off-by: Ajith P V <[email protected]>
---
drivers/android/binder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index cffbe57a8e08..446ed306d313 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -69,7 +69,7 @@

#include <uapi/linux/android/binder.h>

-#include <asm/cacheflush.h>
+#include <linux/cacheflush.h>

#include "binder_internal.h"
#include "binder_trace.h"
--
2.17.1