From patchwork Sat Oct 20 22:33:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 192965 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 84D052C0089 for ; Sun, 21 Oct 2012 09:35:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B34D34A427; Sun, 21 Oct 2012 00:35:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IsslN0BkH9rQ; Sun, 21 Oct 2012 00:35:23 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A2B4F4A459; Sun, 21 Oct 2012 00:34:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 634064A42B for ; Sun, 21 Oct 2012 00:33:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6+zHJargHxCV for ; Sun, 21 Oct 2012 00:33:49 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ee0-f74.google.com (mail-ee0-f74.google.com [74.125.83.74]) by theia.denx.de (Postfix) with ESMTPS id 2F2B84A404 for ; Sun, 21 Oct 2012 00:33:44 +0200 (CEST) Received: by mail-ee0-f74.google.com with SMTP id b57so84458eek.3 for ; Sat, 20 Oct 2012 15:33:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=/+/K3kh8quLWFaaQSJROUx6U+hhClSxYj6UJAaskC+Q=; b=bOn2eOFWYG9W6ehyCPP63bAmNcpTiD2UTzLGsv6LR5vTOrAT1FJazKwEuEPDJqKfDY 5w+Mc0ljFksItb6EoR/l7KaYfl4XLeOu6y7bysJRbHIpkVfOVjCSA0njlZgVOW5KfRZd 2XrFdQXywiVDnHEyNtzrYBFCstyBQ9NSS1PcxrhR/VsjWP8rAvvBrj+KL45Dyz4H/dw4 +ZxrPxNYbWFR1niDcepXheFn5pbDFjZCkwkv2704IjFDUBFJ7LNSAjp1asdVaa0kZNkr VDL6FwOJGwzCBhbF2NSLFJXAtm2gWJrshfS7eQcHVFDOQpKCbh4quwkXCgaoamPmPoJj tvFg== Received: by 10.181.12.101 with SMTP id ep5mr1597218wid.1.1350772423614; Sat, 20 Oct 2012 15:33:43 -0700 (PDT) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id gp9si33143wib.0.2012.10.20.15.33.43 (version=TLSv1/SSLv3 cipher=AES128-SHA); Sat, 20 Oct 2012 15:33:43 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 3B322200057; Sat, 20 Oct 2012 15:33:43 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id A280B16075E; Sat, 20 Oct 2012 15:33:42 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 20 Oct 2012 15:33:13 -0700 Message-Id: <1350772396-28946-10-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1350772396-28946-1-git-send-email-sjg@chromium.org> References: <1350772396-28946-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmEp57GWER3NOCU3ZGvHz5o1IIO1PePE8hI3L94r3RWWn2R3EJvq68f0jCec9czm4S6hY0GodYBUgNM6xNQoYhRzpwDIHQPVXv57s1gzLVuXue48zjGcaIt4+CqklPguT2VlkDkCgTJ7/y6T2Q9GQbWirvJ/vZF7zFwIl+Lh0P7x2C0XjhJC8cW4mscCCCOe2Ay24QI Cc: Tom Rini Subject: [U-Boot] [PATCH 09/12] x86: Include types.h explicitly in the i386 version of io.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Gabe Black The i386 version of io.h depends on the phys_addr_t type which is defined in types.h. It wasn't including that explicitly, and was working presumably because the other files including it had already included types.h themselves directly or indirectly. This change fixes that. Signed-off-by: Gabe Black Signed-off-by: Simon Glass --- arch/x86/include/asm/io.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index b12bdd8..2214958 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -36,6 +36,8 @@ #define IO_SPACE_LIMIT 0xffff +#include + #ifdef __KERNEL__