From: Andi Kleen <a...@linux.intel.com> Signed-off-by: Andi Kleen <a...@linux.intel.com> --- drivers/base/firmware_class.c | 4 ++-- drivers/base/power/trace.c | 2 +- drivers/pci/quirks.c | 28 ++++++++++++++-------------- 3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 803cfc1..618ca735 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -30,8 +30,8 @@ MODULE_LICENSE("GPL"); #ifdef CONFIG_FW_LOADER -extern struct builtin_fw __start_builtin_fw[]; -extern struct builtin_fw __end_builtin_fw[]; +extern __visible struct builtin_fw __start_builtin_fw[]; +extern __visible struct builtin_fw __end_builtin_fw[]; static bool fw_get_builtin_firmware(struct firmware *fw, const char *name) { diff --git a/drivers/base/power/trace.c b/drivers/base/power/trace.c index d94a1f5..3048afa 100644 --- a/drivers/base/power/trace.c +++ b/drivers/base/power/trace.c @@ -166,7 +166,7 @@ void generate_resume_trace(const void *tracedata, unsigned int user) } EXPORT_SYMBOL(generate_resume_trace); -extern char __tracedata_start, __tracedata_end; +extern __visible char __tracedata_start, __tracedata_end; static int show_file_hash(unsigned int value) { int match; diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 5155317..d18ea93 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2941,20 +2941,20 @@ static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, } } -extern struct pci_fixup __start_pci_fixups_early[]; -extern struct pci_fixup __end_pci_fixups_early[]; -extern struct pci_fixup __start_pci_fixups_header[]; -extern struct pci_fixup __end_pci_fixups_header[]; -extern struct pci_fixup __start_pci_fixups_final[]; -extern struct pci_fixup __end_pci_fixups_final[]; -extern struct pci_fixup __start_pci_fixups_enable[]; -extern struct pci_fixup __end_pci_fixups_enable[]; -extern struct pci_fixup __start_pci_fixups_resume[]; -extern struct pci_fixup __end_pci_fixups_resume[]; -extern struct pci_fixup __start_pci_fixups_resume_early[]; -extern struct pci_fixup __end_pci_fixups_resume_early[]; -extern struct pci_fixup __start_pci_fixups_suspend[]; -extern struct pci_fixup __end_pci_fixups_suspend[]; +extern __visible struct pci_fixup __start_pci_fixups_early[]; +extern __visible struct pci_fixup __end_pci_fixups_early[]; +extern __visible struct pci_fixup __start_pci_fixups_header[]; +extern __visible struct pci_fixup __end_pci_fixups_header[]; +extern __visible struct pci_fixup __start_pci_fixups_final[]; +extern __visible struct pci_fixup __end_pci_fixups_final[]; +extern __visible struct pci_fixup __start_pci_fixups_enable[]; +extern __visible struct pci_fixup __end_pci_fixups_enable[]; +extern __visible struct pci_fixup __start_pci_fixups_resume[]; +extern __visible struct pci_fixup __end_pci_fixups_resume[]; +extern __visible struct pci_fixup __start_pci_fixups_resume_early[]; +extern __visible struct pci_fixup __end_pci_fixups_resume_early[]; +extern __visible struct pci_fixup __start_pci_fixups_suspend[]; +extern __visible struct pci_fixup __end_pci_fixups_suspend[]; static bool pci_apply_fixup_final_quirks; -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/