diff options
author | Tanzir Hasan <tanzirh@google.com> | 2023-12-26 23:52:03 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-01-22 11:01:16 +0100 |
commit | 0726fcc8d4af75441b38aaa082f820e63b3a8748 (patch) | |
tree | d6d0c0141d84e8072ab5e05c67dd2971b5228018 /drivers/firmware | |
parent | firmware: arm_scmi: Check mailbox/SMT channel for consistency (diff) | |
download | linux-0726fcc8d4af75441b38aaa082f820e63b3a8748.tar.xz linux-0726fcc8d4af75441b38aaa082f820e63b3a8748.zip |
firmware: arm_scmi: Replace asm-generic/bug.h with linux/bug.h
linux/bug.h includes asm-generic/bug.h already and hence replacing
asm-generic/bug.h with linux/bug.h will not regress any build.
Also, it is always better to avoid header file inclusion from asm-generic
if possible.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Link: https://lore.kernel.org/r/20231226-shmem-v1-1-ea15ce81d8ba@google.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/arm_scmi/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/shmem.c b/drivers/firmware/arm_scmi/shmem.c index 517d52fb3bcb..8bf495bcad09 100644 --- a/drivers/firmware/arm_scmi/shmem.c +++ b/drivers/firmware/arm_scmi/shmem.c @@ -10,7 +10,7 @@ #include <linux/processor.h> #include <linux/types.h> -#include <asm-generic/bug.h> +#include <linux/bug.h> #include "common.h" |