From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752914Ab3LQJaQ (ORCPT ); Tue, 17 Dec 2013 04:30:16 -0500 Received: from mail-pb0-f48.google.com ([209.85.160.48]:53812 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021Ab3LQJaO (ORCPT ); Tue, 17 Dec 2013 04:30:14 -0500 Date: Tue, 17 Dec 2013 15:00:04 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Shaohua Li , Len Brown , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 08/11] drivers: acpi: Include appropriate header file in dock.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Includes appropriate header file internal.h in dock.c because function acpi_dock_init() has its prototype declaration in internal.h. This eliminates the following warning in dock.c: drivers/acpi/dock.c:899:13: warning: no previous prototype for ‘acpi_dock_init’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/acpi/dock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index dcd73cc..f229862 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -34,6 +34,7 @@ #include #include #include +#include "internal.h" #define PREFIX "ACPI: " -- 1.7.9.5