Messages in this thread | | | Subject | Re: [PATCH] of: remove duplicate declaration of of_iomap() | From | Tom Rix <> | Date | Tue, 28 Sep 2021 13:42:41 -0700 |
| |
On 9/28/21 1:33 PM, Randy Dunlap wrote: > On 9/28/21 1:12 PM, trix@redhat.com wrote: >> From: Tom Rix <trix@redhat.com> >> >> A ranconfig produces this linker error > > randconfig .. on what arch, please? s390 > >> irq-al-fic.c:252: undefined reference to `of_iomap' >> >> The declaration of of_iomap() is dependent on OF >> The definition of of_iomap() is dependent on OF_ADDRESS >> These should match. There are duplicate declarations >> of of_iomap(), remove of_iomap() and the >> of_address_to_resource() duplicate. >> >> Signed-off-by: Tom Rix <trix@redhat.com> >> --- >> include/linux/of_address.h | 8 +------- >> 1 file changed, 1 insertion(+), 7 deletions(-) >> > > > thanks.
| |