linux-next: build warning after merge of the gpio tree

From: Stephen Rothwell
Date: Tue Nov 05 2019 - 01:44:35 EST


Hi all,

After merging the gpio tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

WARNING: vmlinux.o(.data+0xbd3f4): Section mismatch in reference from the variable bcm_iproc_gpio_driver to the (unknown reference) .init.rodata:(unknown)
The variable bcm_iproc_gpio_driver references
the (unknown reference) __initconst (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

(and similar for x86_64 allmodconfig)

Introduced by commit

6a41b6c5fc20 ("gpio: Add xgs-iproc driver")



--
Cheers,
Stephen Rothwell

Attachment: pgpyzKyNZNMW_.pgp
Description: OpenPGP digital signature