[lkml]   [2011]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subjectlinux-next: build warnings after merge of the moduleh tree
Hi Paul,

After merging the moduleh tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

drivers/of/of_pci_irq.c:92:1: warning: data definition has no type or storage class
drivers/of/of_pci_irq.c:92:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/of/of_pci_irq.c:92:1: warning: parameter names (without types) in function declaration

This is an interaction with commit 98d9f30c820d ("pci/of: Match PCI
devices to OF nodes dynamically") which split off part of

I have added this patch for today:

From: Stephen Rothwell <>
Date: Fri, 29 Jul 2011 16:05:38 +1000
Subject: [PATCH] pci/of: include export.h for EXPORT_SYMBOL_GPL

Signed-off-by: Stephen Rothwell <>
drivers/of/of_pci_irq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/of/of_pci_irq.c b/drivers/of/of_pci_irq.c
index ac1ec54..9312516 100644
--- a/drivers/of/of_pci_irq.c
+++ b/drivers/of/of_pci_irq.c
@@ -1,6 +1,7 @@
#include <linux/kernel.h>
#include <linux/of_pci.h>
#include <linux/of_irq.h>
+#include <linux/export.h>
#include <asm/prom.h>

Stephen Rothwell

 \ /
  Last update: 2011-07-29 08:13    [W:0.033 / U:35.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site