From patchwork Wed Jun 14 09:10:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9785855 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D1A3260325 for ; Wed, 14 Jun 2017 09:12:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4FDE28517 for ; Wed, 14 Jun 2017 09:12:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA35128634; Wed, 14 Jun 2017 09:12:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B6FEF28517 for ; Wed, 14 Jun 2017 09:12:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NFGZIeI805MrKlfauSS3pENs4WLdZ5GlHP6uNQXQRfQ=; b=YKLIb1soi7E5dZ +i44natWLb5xDCNhCnQLtmNNjqcUt18icujb8liZz15fiZoFp8OyKBG0NHwRTbRO8Vn0UTlJzSg/D KsCkjqPnG6waB+OmaNjYtZrmAazTrFX9aOBVVswOQG82GSFY3Y8uG5ur6wwHygauKd4/YWWFhb5oM feElVacM+crN1lP1g2HgSB2xEv25/d0BDtrtXwJSFN6Gl5/9G3lsY2xf2dAfgVMgDnJ1ksfKqNJiw PPTipm/l2zmFMh6yeQ/383MojOdfxOipzmnZA1Lp98mdO668VTUAKJYnUfhYVYhVFGw2UUfTx6sQl xE8lqk8pMFTMebYKstqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dL4Lp-0005Sr-Q6; Wed, 14 Jun 2017 09:12:33 +0000 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dL4Lc-0005Bf-9N for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2017 09:12:22 +0000 Received: by mail-wr0-x22f.google.com with SMTP id q97so179925787wrb.2 for ; Wed, 14 Jun 2017 02:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bPGnTjLkPnAv/4EjxPXVfz7ZzS8HZGJ/F+tT92cyJkQ=; b=Pr5SkgRO99v7u2omhD7aCJPm3vWVoSxJ187exJJhEcLjBkK27bi4ih2ElXNSYh3hh/ xl3bubW+xtt6jcIwBYEHn8y3+iHLfkJb5CsejTzwq21i10ZyQ1a1pk3Gg3QlyCCE11po 0gaC7XauG/IjuoM03rUFrrPZe0mZnqWi2B3f8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bPGnTjLkPnAv/4EjxPXVfz7ZzS8HZGJ/F+tT92cyJkQ=; b=AIRK9B3F5DjjotJwtlaphXFzm3KhCeSYZ/RnZU6tHUFJ5brCAb07uykymNyYO+FKEs yK7IDYXoAKLneaWRDVcvfS7NYK729VhPxajs2Tpz9OzhHmlOST1nt2GJZ1AZdykmd6Eu ogCX/eL92jyS8aLO3JaHvLGhowK0uY+RCDdHzwd/g8NWlVkSVEy0XIUMPuc2z2NphzmA 48P+MWspwVnYEXdy4yCyiLfk8qP7B/lLTqhxIe/BvG3HO88R7zyWeYI9XdalbC61XBpp 0ALiyHkG/w0rIcypg5dNTU/CdscuorXBDfN1weDQV908qfdKGbee2fl8lLTIpTW/6/Tn yTBQ== X-Gm-Message-State: AKS2vOznDWgco6J7xkiCnt5CVHjE8Z2eZkihEtYos7Kl6QS9468iYJP2 F/SLzHK1IZav7388ISY5dw== X-Received: by 10.28.54.154 with SMTP id y26mr238157wmh.53.1497431518187; Wed, 14 Jun 2017 02:11:58 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:19a:b336:54d7:46e9]) by smtp.gmail.com with ESMTPSA id y17sm444935wrb.39.2017.06.14.02.11.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 02:11:57 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 2/2] clocksource: Explicitly include linux/clocksource.h when needed Date: Wed, 14 Jun 2017 11:10:43 +0200 Message-Id: <1497431443-14634-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497431443-14634-1-git-send-email-daniel.lezcano@linaro.org> References: <20170614091021.GG2261@mai> <1497431443-14634-1-git-send-email-daniel.lezcano@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170614_021220_478671_CAC9F352 X-CRM114-Status: GOOD ( 11.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Michal Simek , "open list:CLOCKSOURCE, CLOC..." , Chen-Yu Tsai , "moderated list:ARM/ZYNQ ARCHITEC..." , Maxime Ripard , kbuild test robot , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stephen Rothwell The kbuild test robot reported errors in these files when doing an ia64 allmodconfig build. drivers/clocksource/timer-sun5i.c:52:21: error: field 'clksrc' has incomplete type struct clocksource clksrc; ^~~~~~ drivers/clocksource/cadence_ttc_timer.c:92:21: error: field 'cs' has incomplete type struct clocksource cs; ^~ (and many more errors for these files) Cc: Michal Simek Cc: "Sören Brinkmann" Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Maxime Ripard Cc: Chen-Yu Tsai Reported-by: kbuild test robot Signed-off-by: Stephen Rothwell Acked-by: Michal Simek Signed-off-by: Daniel Lezcano --- drivers/clocksource/cadence_ttc_timer.c | 1 + drivers/clocksource/timer-sun5i.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clocksource/cadence_ttc_timer.c b/drivers/clocksource/cadence_ttc_timer.c index 44e5e95..8e64b84 100644 --- a/drivers/clocksource/cadence_ttc_timer.c +++ b/drivers/clocksource/cadence_ttc_timer.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index 2e9c830..c4656c4 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include