ANDROID: preserve CRC for __irq_domain_add()

The __irq_domain_add() function changed in commit 01ed8ff22a
("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: 01ed8ff22a ("irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent")
Change-Id: I3065753600072c4ab4def2c3b1d6420e1946bdeb
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2023-03-22 10:38:59 +00:00
parent 812963276d
commit 6eb1bfc752

View File

@ -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);