From 6eb1bfc752e0abf3b6b032e7b659d1b095896f1b Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 22 Mar 2023 10:38:59 +0000 Subject: [PATCH] ANDROID: preserve CRC for __irq_domain_add() The __irq_domain_add() function changed in commit 01ed8ff22a5b ("irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent") in order to make later commits in the series able to be applied easier. The commit does not actually change any functionality, but the CRC is now changed, so trick the CRC tools to think all is still the same. Bug: 161946584 Fixes: 01ed8ff22a5b ("irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent") Change-Id: I3065753600072c4ab4def2c3b1d6420e1946bdeb Signed-off-by: Greg Kroah-Hartman --- include/linux/irqdomain.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index f6a427f16c35..29770e58535b 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -261,7 +261,11 @@ static inline struct fwnode_handle *irq_domain_alloc_fwnode(phys_addr_t *pa) } void irq_domain_free_fwnode(struct fwnode_handle *fwnode); +#ifdef __GENKSYMS__ /* Android KABI hack to preserve CRC checker */ +struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, +#else struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, +#endif irq_hw_number_t hwirq_max, int direct_max, const struct irq_domain_ops *ops, void *host_data);