Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966271AbaFTJFu (ORCPT ); Fri, 20 Jun 2014 05:05:50 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:33085 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964904AbaFTJFr (ORCPT ); Fri, 20 Jun 2014 05:05:47 -0400 From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, andreas.noever@gmail.com, spk.linux@gmail.com Subject: [PATCH 2/6] thunderbolt: Fix build error in switch.c Date: Fri, 20 Jun 2014 14:32:30 +0530 Message-Id: <1403254954-14429-2-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403254954-14429-1-git-send-email-sachin.kamat@samsung.com> References: <1403254954-14429-1-git-send-email-sachin.kamat@samsung.com> 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 Fixes the below error: drivers/thunderbolt/switch.c:347:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] drivers/thunderbolt/switch.c:381:2: error: implicit declaration of function ‘kcalloc’ [-Werror=implicit-function-declaration] Signed-off-by: Sachin Kamat --- drivers/thunderbolt/switch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c index 0d50e7e7b29b..26e76e4aa835 100644 --- a/drivers/thunderbolt/switch.c +++ b/drivers/thunderbolt/switch.c @@ -5,6 +5,7 @@ */ #include +#include #include "tb.h" -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/