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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 5 Nov 2019 17:43:59 +1100

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