From patchwork Fri Nov 15 14:00:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 291575 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ea0-x23d.google.com (mail-ea0-x23d.google.com [IPv6:2a00:1450:4013:c01::23d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D11982C00B7 for ; Sat, 16 Nov 2013 01:01:37 +1100 (EST) Received: by mail-ea0-f189.google.com with SMTP id b11sf293089eae.16 for ; Fri, 15 Nov 2013 06:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-transfer-encoding; bh=66YVrvw0BT4i+H3+Q0QtzKnEklbyvJUTOB1QTxDt3pk=; b=yETHoFefJr0ulnZPZylJyYLeXTqbuKmKsdJpivoZU4CmtxzCIs1VqKlammvau4cQJI 8OhHQ/6ChcP9Mnmh87/HI/L2MHqguZ5zWDaH9iyYt5Kuguh7DfamuuMHJYKahWEAufQU JOLwKTFrC7CNfIrKgRgC/Cnl6WwcleoXzQ2IEowQ5mh0tdm+MQ9oeLuonLwSXS60KkZQ eRWWTO5chZLsZz+MVlF58CfVNnKC1pQULF8mvfM2xye8Sb448+F5PtVKqsGKeAwjYHxl KANGeiX+r854jJSKLhn3styoAuIh0V6Zb0cTe1jvnmwfaFzA30V246SMUzsQWQoYaYde gNuw== X-Received: by 10.180.96.231 with SMTP id dv7mr77645wib.18.1384524091663; Fri, 15 Nov 2013 06:01:31 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.180.211.211 with SMTP id ne19ls65780wic.29.gmail; Fri, 15 Nov 2013 06:01:31 -0800 (PST) X-Received: by 10.204.79.3 with SMTP id n3mr1920652bkk.6.1384524091195; Fri, 15 Nov 2013 06:01:31 -0800 (PST) Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de. [2001:6f8:1178:4:290:27ff:fe1d:cc33]) by gmr-mx.google.com with ESMTPS id a1si556715ees.1.2013.11.15.06.01.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 15 Nov 2013 06:01:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of ukl@pengutronix.de designates 2001:6f8:1178:4:290:27ff:fe1d:cc33 as permitted sender) client-ip=2001:6f8:1178:4:290:27ff:fe1d:cc33; Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VhJxP-0005hJ-65; Fri, 15 Nov 2013 15:01:11 +0100 Received: from ukl by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1VhJxL-0000Ak-2L; Fri, 15 Nov 2013 15:01:07 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Andrew Morton , Alessandro Zummo , Andrew Victor , Nicolas Ferre , Jean-Christophe Plagniol-Villard Cc: rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Subject: [rtc-linux] [PATCH] rtc: at91sam9: include explicitly Date: Fri, 15 Nov 2013 15:00:58 +0100 Message-Id: <1384524058-20712-1-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 1.8.4.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:21e:67ff:fe11:9c5c X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: rtc-linux@googlegroups.com X-Original-Sender: u.kleine-koenig@pengutronix.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of ukl@pengutronix.de designates 2001:6f8:1178:4:290:27ff:fe1d:cc33 as permitted sender) smtp.mail=ukl@pengutronix.de Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , The driver needs the symbol AT91_SLOW_CLOCK which is defined in arch/arm/mach-at91/include/mach/hardware.h. This file is included implicitly via linux/module.h -> linux/kmod.h -> linux/gfp.h -> linux/mmzone.h -> linux/memory_hotplug.h -> linux/notifier.h -> linux/srcu.h -> linux/workqueue.h -> linux/timer.h -> linux/ktime.h -> linux/jiffies.h -> linux/timex.h -> mach/timex.h -> mach/hardware.h . So better include it explicitly not only because the last link will go away soon. Signed-off-by: Uwe Kleine-König Acked-by: Nicolas Ferre --- drivers/rtc/rtc-at91sam9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 309b8b3..5963743 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c @@ -24,7 +24,7 @@ #include #include - +#include /* * This driver uses two configurable hardware resources that live in the