Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6316841imm; Mon, 23 Jul 2018 15:48:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcn6X5tBVJ+ZvFvM7IkBQocdt2PudhkF7xkwB7v3COhmzX1PComlwlYWfATsS/QClM5W1eE X-Received: by 2002:a63:a042:: with SMTP id u2-v6mr13673255pgn.80.1532386131986; Mon, 23 Jul 2018 15:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532386131; cv=none; d=google.com; s=arc-20160816; b=kaJVrFVIV+tq0vgKEbvSYfOPU8vDLXb4kBvGgyUVy5iS33IgVUEN+c2MmBHvwTdyfZ 5xdMre1Fp3jTbInybQ2QwYHHHNeiF+TOA9ohBD8eC8MqUo2Vgx5y2ONZq1TM/3HU55HM yNjsic9ZSHWFTvtJqySjMXfjgfIaWIA3lbGWHtJx//AjX/rvBm+XvjV5v6pT7L4Fw9y2 RyF/r6ZTZ6ArjJDkzO/JisHgAfhlUODXlvI1VlL0Duxj+woOVnsnmUI5ikh6K6nBf9Vr c12J8abKI6wYwdDyQeRqvTqKYZNe8miDEaqk4IpeL+q14qZVOHW4dXVcVxr6Nude9LvD 37XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:message-id:date :mime-version:dkim-signature:arc-authentication-results; bh=rY92PwetMMJR811lcQ86re3RAm6WYixeOP2SYa6MEWw=; b=xnVK+ZvLWAKm3jFbOdH87/43jxa8rGxPR/JKeUROj1Zj4KbcqyDKSTjFGY6vLMTH2r M/UuzU7IYSm9wN/Wl8/M9q6DnlaLzJCjgPpU5WSmoANH+IjRAGr2QLIkasfpC7sEONSh PVMbITYBs2tk3HNEqN0G9u3ztGISSzBdMaRa3bxS85QJNdooF5H3LqhG16r01MlahDeo CIj0P2GtKoPHLPM4T9YvGmxc3r8n/RbP4Wm0k8/ifQmSkyWAaWeLKLJlzqDodDPBX5po uMpTMjpYXJDhqF1+pfaZKexINwRMPlx9vmw/Q6nJsCbXef96/AUXmkw3uSq7wpCQlowf vRkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rwwnJA6o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si9137830pld.281.2018.07.23.15.48.37; Mon, 23 Jul 2018 15:48:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rwwnJA6o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388324AbeGWXvF (ORCPT + 99 others); Mon, 23 Jul 2018 19:51:05 -0400 Received: from mail-it0-f74.google.com ([209.85.214.74]:36142 "EHLO mail-it0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388207AbeGWXvF (ORCPT ); Mon, 23 Jul 2018 19:51:05 -0400 Received: by mail-it0-f74.google.com with SMTP id m185-v6so699930itm.1 for ; Mon, 23 Jul 2018 15:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:message-id:subject:from:to:cc; bh=rY92PwetMMJR811lcQ86re3RAm6WYixeOP2SYa6MEWw=; b=rwwnJA6oQugW+RENcYTvutu3Xjy1CunpyYsoGEqrCO8dEDrh4vuz0/2dXUvtFNBTvL OBZFkeqapMFEPKQpBaYy4jph8fhnxV2lsW+zhFZtUek/SeiTTht6IoB8fkYDVZj4wZtt Gega3YdxI/ngymnMrMys6orhtwkRXupE5eZWRzwZqIusBd29CDa6KTJUN6BKrZ2U3KfV hlrmHMwPlnvDuEJZRYDC4SlPHYbwITUMjByFz0UtGC03Gi1PHExFulYOn24CTkdfumxG 9nlHSFE0QDcik8158Nv7WNZoBZgSIUy23XXTLPbKDWIDAAHOWeK7CUYuZmHRXNA+o5Tp Gr/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=rY92PwetMMJR811lcQ86re3RAm6WYixeOP2SYa6MEWw=; b=CtEGYnE6rn/USTMlx2CwFCMhjOStPuB2U+4cbG+hInBIxagiHcjKmPfhI4XESlos4f GRHUQqkZLhAEuz8QPMqGCEAvhBYyCwDFKYifKxOFNTPEqWLEc5rm1OQKGR1TXPcfR1+Q 7Y9pa+Nw3nuZHTC/4LW9UFjUhmRbc2g3FKjs0Kj+xTXo7SDV43SpLmJMJMINOM8jLBiE bNhcLE0rveFDr2/NhErgLuwSG+0Ub18Qj8A8w8ihp5DQwvjdj6myn7wudjKQ/Cd1M1dn huJL945zKMLP7VRn9GNr/P6eUUPT4OLj61z2o1y7UM1cE9TEoJrHHurBwUDX7c5YTyAm do+g== X-Gm-Message-State: AOUpUlF4r3EkzAJi/nVe4GOGkVCIQ5WZLCnll2pEbInzn39mgYcVEF2f IWbQQAIvR1qk25QNP16VqNONVq4V MIME-Version: 1.0 X-Received: by 2002:a24:47ca:: with SMTP id t193-v6mr434109itb.24.1532386059597; Mon, 23 Jul 2018 15:47:39 -0700 (PDT) Date: Mon, 23 Jul 2018 15:47:26 -0700 Message-Id: <20180723224727.120952-1-rkir@google.com> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog Subject: [PATCH 1/2] goldfish: Add missing includes to goldfish.h From: rkir@google.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, tkjos@google.com, Roman Kiryanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Kiryanov goldfish.h refers to external symbols such as dma_addr_t and writel. This causes compilation errors if this file is included before other header files. The mentioned symbols are defined in types.h (dma_addr_t) and io.h (writel). Signed-off-by: Roman Kiryanov --- include/linux/goldfish.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/goldfish.h b/include/linux/goldfish.h index 2835c150c3ff..159b4191f15d 100644 --- a/include/linux/goldfish.h +++ b/include/linux/goldfish.h @@ -2,6 +2,9 @@ #ifndef __LINUX_GOLDFISH_H #define __LINUX_GOLDFISH_H +#include +#include + /* Helpers for Goldfish virtual platform */ static inline void gf_write_ptr(const void *ptr, void __iomem *portl, -- 2.18.0.233.g985f88cf7e-goog