From patchwork Thu Oct 21 19:24:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 4690 Return-path: Envelope-to: mchehab@pedra Delivery-date: Thu, 21 Oct 2010 18:56:46 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1P92Bq-000538-KF for mchehab@pedra; Thu, 21 Oct 2010 18:56:46 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Thu, 21 Oct 2010 18:56:46 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P90qn-0007bo-NL; Thu, 21 Oct 2010 19:30:58 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752465Ab0JUTaz (ORCPT + 1 other); 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) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: The work_queue was partially removed in f93000ac11: "[media] s5p-fimc: mem2mem driver refactoring and cleanup" but this bit was missed. Also we need to include sched.h otherwise the compile fails with: drivers/media/video/s5p-fimc/fimc-core.c: In function ‘fimc_capture_handler’: drivers/media/video/s5p-fimc/fimc-core.c:286: error: ‘TASK_NORMAL’ undeclared (first use in this function) Signed-off-by: Dan Carpenter --- Compile tested only. :P -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;