From patchwork Tue Jun 8 15:51:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 104981 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o58Fu4qd008201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Jun 2010 15:56:41 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o58FpmpT004593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jun 2010 10:51:48 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id o58FplV5001188; Tue, 8 Jun 2010 10:51:48 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id D81CD80627; Tue, 8 Jun 2010 10:51:47 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id C580A80626 for ; Tue, 8 Jun 2010 10:51:45 -0500 (CDT) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id o58FpjfI024357 for ; Tue, 8 Jun 2010 10:51:45 -0500 (CDT) Received: from psmtp.com (na3sys009amx218.postini.com [74.125.149.58]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id o58Fphgh030469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 8 Jun 2010 10:51:44 -0500 Received: from source ([81.2.99.171]) (using TLSv1) by na3sys009amx218.postini.com ([74.125.148.10]) with SMTP; Tue, 08 Jun 2010 10:51:44 CDT Received: from atlas.mpc-data.co.uk (atlas.mpc-data.co.uk [10.150.16.29]) by warcop.mpc-data.co.uk (8.12.9p2/8.12.9) with ESMTP id o58Fpflh059461; Tue, 8 Jun 2010 16:51:41 +0100 (BST) (envelope-from kbingham@mpc-data.co.uk) Received: from kbingham by atlas.mpc-data.co.uk with local (Exim 4.69) (envelope-from ) id 1OM15Z-0002ET-LL; Tue, 08 Jun 2010 16:51:41 +0100 From: Kieran Bingham To: "davinci-linux-open-source@linux.davincidsp.com" Subject: [PATCH] Fix compile error for rtc-davinci due to implicit declarations of kfree / kzalloc Date: Tue, 8 Jun 2010 16:51:41 +0100 Message-Id: <1276012301-8547-1-git-send-email-kieranbingham@gmail.com> X-Mailer: git-send-email 1.6.2.1 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:53.88850/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: Kieran Bingham X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 08 Jun 2010 15:56:41 +0000 (UTC) diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c index 92a8f6c..34647fc 100644 --- a/drivers/rtc/rtc-davinci.c +++ b/drivers/rtc/rtc-davinci.c @@ -29,6 +29,7 @@ #include #include #include +#include /* * The DaVinci RTC is a simple RTC with the following