From patchwork Thu Oct 21 19:24:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 272081 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9LJUw0X008344 for ; Thu, 21 Oct 2010 19:30:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752465Ab0JUTaz (ORCPT ); Thu, 21 Oct 2010 15:30:55 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:49980 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968Ab0JUTay (ORCPT ); Thu, 21 Oct 2010 15:30:54 -0400 Received: by wyb33 with SMTP id 33so89038wyb.19 for ; Thu, 21 Oct 2010 12:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=yIWzzAA5MWAa9SX+NHJi9yj3N+e6r24g07zP5q812+o=; b=i6K1Z8yU7Rrw/nNgVKYMPUw9dMWxES4kWEHvVS6IuOvKtaKLsep3mxihfkpGJCpt6J p/z9h7jYrNtS32vhELmeW3NS6bteWX8QOo3u0oAdlCaHiAFGgeRkV9pqOdoQ/HRQSJ59 35vm0iUA1al/JQgdx6uLx2iEph62O4Vh8+JS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; b=gfGmJZRPkNaALb8xm9IVzMb6DhhuwsluoAmV66tOgzkgGy5dwUChssCqQRxT3Fz/Il WHPUIS+OX6wxkfiwUUirChJBZsqZ4B9kmIuZHy7TVB/q8QQI6I9IfI07L9Rj+X1XzhxB GKOuZRJboWeTzAnzY0cUTD5G2VDTghNvGgtiQ= Received: by 10.227.138.73 with SMTP id z9mr718615wbt.192.1287689050630; Thu, 21 Oct 2010 12:24:10 -0700 (PDT) Received: from bicker (h3f03.n1.ips.mtn.co.ug [41.210.191.3]) by mx.google.com with ESMTPS id f14sm1642208wbe.20.2010.10.21.12.24.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Oct 2010 12:24:10 -0700 (PDT) Date: Thu, 21 Oct 2010 21:24:00 +0200 From: Dan Carpenter To: Mauro Carvalho Chehab Cc: Kyungmin Park , Sylwester Nawrocki , Marek Szyprowski , Pawel Osciak , linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch 2/3] V4L/DVB: s5p-fimc: make it compile Message-ID: <20101021192400.GK5985@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Oct 2010 19:30:58 +0000 (UTC) diff --git a/drivers/media/video/s5p-fimc/fimc-core.h b/drivers/media/video/s5p-fimc/fimc-core.h index e3a7c6a..1c1437c 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.h +++ b/drivers/media/video/s5p-fimc/fimc-core.h @@ -14,6 +14,7 @@ /*#define DEBUG*/ #include +#include #include #include #include diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c index 8335045..cf9bc8e 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.c +++ b/drivers/media/video/s5p-fimc/fimc-core.c @@ -1593,12 +1593,6 @@ static int fimc_probe(struct platform_device *pdev) goto err_clk; } - fimc->work_queue = create_workqueue(dev_name(&fimc->pdev->dev)); - if (!fimc->work_queue) { - ret = -ENOMEM; - goto err_irq; - } - ret = fimc_register_m2m_device(fimc); if (ret) goto err_irq;