From patchwork Thu Jan 8 11:19:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 17327 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from yx-out-2122.google.com (yx-out-2122.google.com [74.125.44.26]) by ozlabs.org (Postfix) with ESMTP id 477A3DE74B for ; Thu, 8 Jan 2009 22:19:52 +1100 (EST) Received: by yx-out-2122.google.com with SMTP id 35so2618997yxh.11 for ; Thu, 08 Jan 2009 03:19:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :received:received:date:from:to:cc:subject:message-id:x-mailer :x-face:mime-version:content-type:x-originalarrivaltime:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; bh=q0xfAuBsrxesfCcf/ho+81gaZh0eYWPkm8vUthlLj/o=; b=44FLwSct7kjqk4iaO3Bqy86QBNhsUc79s73zlJfYZU4CoTldYITwGiUBqFeD6VZEbl gIak51jsqLUlt1XB683CWD6S2Z6VzvD8buPhG4pnCPYNyl5i0hEY/JYDhq61H2hrRDi7 5yHdhSmVQud/qkci6K5J0M1ZzOkdf3ntI11DE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results:date :from:to:cc:subject:message-id:x-mailer:x-face:mime-version :content-type:x-originalarrivaltime:reply-to:sender:precedence :x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; b=UGDA+RQiH22/LV+Ob+MdmqfpwK3q+21c2MHUe/zhunX5/rV9kPemiZMnsgcm2zV5KK QmGs/KxZZvVKUdPzST2kJvURJtHJPmZ+0E2boGn6j5bTn1UxhaJJqWE4N8C7/nzw8YKV YK1MHr94Xj2iLTtkI5bSvk2nyDoeIZZaB1PiM= Received: by 10.90.94.2 with SMTP id r2mr2577735agb.16.1231413587421; Thu, 08 Jan 2009 03:19:47 -0800 (PST) Received: by 10.230.8.5 with SMTP id f5gr1772vbf.0; Thu, 08 Jan 2009 03:19:47 -0800 (PST) X-Sender: ospite@studenti.unina.it X-Apparently-To: rtc-linux@googlegroups.com Received: by 10.90.113.17 with SMTP id l17mr5898486agc.14.1231413586648; Thu, 08 Jan 2009 03:19:46 -0800 (PST) Received: from smtp-out26.alice.it (smtp-out26.alice.it [85.33.2.26]) by mx.google.com with ESMTP id 7si6891407yxg.5.2009.01.08.03.19.46; Thu, 08 Jan 2009 03:19:46 -0800 (PST) Received-SPF: neutral (google.com: 85.33.2.26 is neither permitted nor denied by best guess record for domain of ospite@studenti.unina.it) client-ip=85.33.2.26; Authentication-Results: mx.google.com; spf=neutral (google.com: 85.33.2.26 is neither permitted nor denied by best guess record for domain of ospite@studenti.unina.it) smtp.mail=ospite@studenti.unina.it Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out26.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 Jan 2009 12:19:49 +0100 Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 Jan 2009 12:19:44 +0100 Received: from badebec ([79.9.143.98]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 Jan 2009 12:19:43 +0100 Date: Thu, 8 Jan 2009 12:19:42 +0100 From: Antonio Ospite To: "Alessandro Zummo" Cc: rtc-linux@googlegroups.com, linux-arm-kernel@lists.arm.linux.org.uk Subject: [rtc-linux] [PATCH] rtc-pxa: fix build failure Message-Id: <20090108121942.e4f7f08d.ospite@studenti.unina.it> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu) X-Face: a@Cn0j@M`+r6ur{KjA9.:8wo\nq" List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rtc-linux@googlegroups.com X-BeenThere: rtc-linux@googlegroups.com Fix these build errors: CC drivers/rtc/rtc-pxa.o drivers/rtc/rtc-pxa.c: In function `pxa_rtc_init': drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa27x' drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa3xx' Signed-off-by: Antonio Ospite --- drivers/rtc/rtc-pxa.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. -~----------~----~----~----~------~----~------~--~--- diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index cc7eb87..bd56a03 100644 --- a/drivers/rtc/rtc-pxa.c +++ b/drivers/rtc/rtc-pxa.c @@ -27,6 +27,8 @@ #include #include +#include + #define TIMER_FREQ CLOCK_TICK_RATE #define RTC_DEF_DIVIDER (32768 - 1) #define RTC_DEF_TRIM 0