From patchwork Tue Dec 1 06:34:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 2223 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Tue, 01 Dec 2009 06:35:34 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Tue, 01 Dec 2009 10:58:07 -0200 (BRST) Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NFMKk-0001Qr-OX; Tue, 01 Dec 2009 06:35:34 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750937AbZLAGf0 (ORCPT + 1 other); Tue, 1 Dec 2009 01:35:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751930AbZLAGf0 (ORCPT ); Tue, 1 Dec 2009 01:35:26 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:64230 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbZLAGfZ (ORCPT ); Tue, 1 Dec 2009 01:35:25 -0500 Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB16ZMYc023624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 Dec 2009 06:35:24 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB13XGS3029122; Tue, 1 Dec 2009 06:35:20 GMT Received: from abhmt006.oracle.com by acsmt356.oracle.com with ESMTP id 700366841259649266; Mon, 30 Nov 2009 22:34:26 -0800 Received: from [192.168.1.6] (/96.253.169.185) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 30 Nov 2009 22:34:26 -0800 Message-ID: <4B14B8F1.6000805@oracle.com> Date: Mon, 30 Nov 2009 22:34:25 -0800 From: Randy Dunlap Organization: Oracle Linux Engineering User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: LKML , linux-next@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4B14B929.000C:SCFMA4539814,ss=1,fgs=0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Randy Dunlap pms.c uses KERNEL_VERSION so it needs to include version.h. drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION' Signed-off-by: Randy Dunlap --- drivers/media/video/pms.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20091130.orig/drivers/media/video/pms.c +++ linux-next-20091130/drivers/media/video/pms.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include