From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: [PATCH] ptp_pch: Add missing #include Date: Wed, 16 May 2012 13:50:17 +0200 Message-ID: <1337169017-15835-1-git-send-email-geert@linux-m68k.org> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven To: Takahiro Shimizu , "David S. Miller" , Richard Cochran Return-path: Received: from gerard.telenet-ops.be ([195.130.132.48]:55908 "EHLO gerard.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967468Ab2EPLuW (ORCPT ); Wed, 16 May 2012 07:50:22 -0400 Sender: netdev-owner@vger.kernel.org List-ID: drivers/ptp/ptp_pch.c: In function 'pch_remove': drivers/ptp/ptp_pch.c:576:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration] drivers/ptp/ptp_pch.c: In function 'pch_probe': drivers/ptp/ptp_pch.c:587:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration] Signed-off-by: Geert Uytterhoeven --- Not even compile-tested, as it fails on parisc only. http://kisskb.ellerman.id.au/kisskb/buildresult/6312813/ drivers/ptp/ptp_pch.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index 375eb04..6fff680 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c @@ -30,6 +30,7 @@ #include #include #include +#include #define STATION_ADDR_LEN 20 #define PCI_DEVICE_ID_PCH_1588 0x8819 -- 1.7.0.4