Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751453AbXBJLrA (ORCPT ); Sat, 10 Feb 2007 06:47:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752289AbXBJLrA (ORCPT ); Sat, 10 Feb 2007 06:47:00 -0500 Received: from mtagate2.uk.ibm.com ([195.212.29.135]:16712 "EHLO mtagate2.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751453AbXBJLq6 (ORCPT ); Sat, 10 Feb 2007 06:46:58 -0500 Date: Sat, 10 Feb 2007 12:45:50 +0100 From: Heiko Carstens To: Andrew Morton , Linus Torvalds Cc: Martin Schwidefsky , Jeff Garzik , Tejun Heo , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [patch] linux/io.h: forward declare struct pci_dev Message-ID: <20070210114550.GC12642@osiris.boeblingen.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1287 Lines: 39 From: Heiko Carstens 9ac7849e35f705830f7b016ff272b0ff1f7ff759 causes this: CC arch/s390/mm/ioremap.o In file included from arch/s390/mm/ioremap.c:18: include/linux/io.h:46: warning: "struct pci_dev" declared inside parameter list include/linux/io.h:46: warning: its scope is only this definition or declaration, which is probably not what you want Guess it's time to get rid of ioremap.c on s390 if possible... Cc: Tejun Heo Cc: Jeff Garzik Cc: Martin Schwidefsky Signed-off-by: Heiko Carstens --- include/linux/io.h | 1 + 1 files changed, 1 insertion(+) Index: linux-2.6/include/linux/io.h =================================================================== --- linux-2.6.orig/include/linux/io.h +++ linux-2.6/include/linux/io.h @@ -22,6 +22,7 @@ #include #include +struct pci_dev; struct device; void __iowrite32_copy(void __iomem *to, const void *from, size_t count); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/