From patchwork Tue Jun 8 15:49:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 104987 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o58HOrbE029636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Jun 2010 17:25:30 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o58HNLKC015730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jun 2010 12:23:21 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o58HNL00008671; Tue, 8 Jun 2010 12:23:21 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 4A32080627; Tue, 8 Jun 2010 12:23:21 -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 07F7E80626 for ; Tue, 8 Jun 2010 10:49:58 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id o58FnvbT023646 for ; Tue, 8 Jun 2010 10:49:57 -0500 (CDT) Received: from psmtp.com (na3sys009amx191.postini.com [74.125.149.172]) by white.ext.ti.com (8.13.7/8.13.7) with SMTP id o58FntUu021439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 8 Jun 2010 10:49:56 -0500 Received: from source ([81.2.99.171]) (using TLSv1) by na3sys009amx191.postini.com ([74.125.148.10]) with SMTP; Tue, 08 Jun 2010 15:49:56 GMT 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 o58Fnrlh059341; Tue, 8 Jun 2010 16:49:53 +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 1OM13p-0002Df-7m; Tue, 08 Jun 2010 16:49:53 +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:49:53 +0100 Message-Id: <1276012193-8499-1-git-send-email-kbingham@mpc-data.co.uk> X-Mailer: git-send-email 1.6.2.1 X-pstn-levels: (S:73.55615/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] X-Mailman-Approved-At: Tue, 08 Jun 2010 12:23:20 -0500 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 17:25:30 +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