From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805Ab2AWEZg (ORCPT ); Sun, 22 Jan 2012 23:25:36 -0500 Received: from mail.windriver.com ([147.11.1.11]:49819 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572Ab2AWEZf (ORCPT ); Sun, 22 Jan 2012 23:25:35 -0500 From: Paul Gortmaker To: arnd@arndb.de, greg@kroah.com Cc: linux-kernel@vger.kernel.org, Paul Gortmaker Subject: [PATCH] c2port: fix build error for duramar2150 due to missing header. Date: Sun, 22 Jan 2012 23:24:15 -0500 Message-Id: <1327292655-30565-1-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 1.7.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This file needs the basic headers for resource management, otherwise we will see this build error: CC [M] drivers/misc/c2port/c2port-duramar2150.o drivers/misc/c2port/c2port-duramar2150.c: In function ‘duramar2150_c2port_init’: drivers/misc/c2port/c2port-duramar2150.c:125:2: error: implicit declaration of function ‘request_region’ [-Werror=implicit-function-declaration] drivers/misc/c2port/c2port-duramar2150.c:139:2: error: implicit declaration of function ‘release_region’ [-Werror=implicit-function-declaration] Signed-off-by: Paul Gortmaker diff --git a/drivers/misc/c2port/c2port-duramar2150.c b/drivers/misc/c2port/c2port-duramar2150.c index 778fc3f..5484301 100644 --- a/drivers/misc/c2port/c2port-duramar2150.c +++ b/drivers/misc/c2port/c2port-duramar2150.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #define DATA_PORT 0x325 -- 1.7.7.2