From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760438Ab0HLRqL (ORCPT ); Thu, 12 Aug 2010 13:46:11 -0400 Received: from smtp2.it.da.ut.ee ([193.40.5.67]:50286 "EHLO smtp2.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947Ab0HLRqK (ORCPT ); Thu, 12 Aug 2010 13:46:10 -0400 Date: Thu, 12 Aug 2010 20:46:07 +0300 (EEST) From: Meelis Roos To: Mauro Carvalho Chehab cc: linux-media@vger.kernel.org, Linux Kernel list Subject: [PATCH] fix v4l2-ctrls compilation Message-ID: User-Agent: Alpine 1.00 (SOC 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Current git has broken v4l2-ctrls compilation - kzalloc et al are missing prototypes. Fix it by including linux/slab.h that contains the definitions. Signed-off-by: Meelis Roos diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 84c1a53..ea8d32c 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #include -- Meelis Roos