Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753958Ab0HIR6N (ORCPT ); Mon, 9 Aug 2010 13:58:13 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:54797 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753354Ab0HIR6H (ORCPT ); Mon, 9 Aug 2010 13:58:07 -0400 Date: Mon, 9 Aug 2010 10:56:35 -0700 From: Randy Dunlap To: Stephen Rothwell , linux-media@vger.kernel.org, Mauro Carvalho Chehab Cc: linux-next@vger.kernel.org, LKML Subject: [PATCH -next] v4l2-ctrls.c: needs to include slab.h Message-Id: <20100809105635.4208c7ac.randy.dunlap@oracle.com> In-Reply-To: <20100809132314.789e13f3.sfr@canb.auug.org.au> References: <20100809132314.789e13f3.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 29 From: Randy Dunlap v4l2-ctrls.c needs to include slab.h to prevent build errors: drivers/media/video/v4l2-ctrls.c:766: error: implicit declaration of function 'kzalloc' drivers/media/video/v4l2-ctrls.c:786: error: implicit declaration of function 'kfree' drivers/media/video/v4l2-ctrls.c:1528: error: implicit declaration of function 'kmalloc' Signed-off-by: Randy Dunlap Cc: Mauro Carvalho Chehab --- drivers/media/video/v4l2-ctrls.c | 1 + 1 file changed, 1 insertion(+) --- linux-next-20100809.orig/drivers/media/video/v4l2-ctrls.c +++ linux-next-20100809/drivers/media/video/v4l2-ctrls.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #include -- 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/