From patchwork Tue Jan 13 02:56:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 5617451 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3E317C058D for ; Tue, 13 Jan 2015 02:57:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8105420600 for ; Tue, 13 Jan 2015 02:57:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 28A33205F9 for ; Tue, 13 Jan 2015 02:57:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753406AbbAMC5K (ORCPT ); Mon, 12 Jan 2015 21:57:10 -0500 Received: from resqmta-po-03v.sys.comcast.net ([96.114.154.162]:55147 "EHLO resqmta-po-03v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367AbbAMC5H (ORCPT ); Mon, 12 Jan 2015 21:57:07 -0500 Received: from resomta-po-13v.sys.comcast.net ([96.114.154.237]) by resqmta-po-03v.sys.comcast.net with comcast id fEwY1p00157bBgG01Ex2Gb; Tue, 13 Jan 2015 02:57:02 +0000 Received: from mail.gonehiking.org ([50.134.149.16]) by resomta-po-13v.sys.comcast.net with comcast id fEx21p0080MU7Qa01Ex2pX; Tue, 13 Jan 2015 02:57:02 +0000 Received: from lorien.internal (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id 03D1A415A7; Mon, 12 Jan 2015 19:57:02 -0700 (MST) From: Shuah Khan To: m.chehab@samsung.com, hans.verkuil@cisco.com, dheitmueller@kernellabs.com, prabhakar.csengg@gmail.com, sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com, ttmesterr@gmail.com Cc: Shuah Khan , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] media: fix au0828 compile error from au0828_boards initialization Date: Mon, 12 Jan 2015 19:56:55 -0700 Message-Id: <61a7298a0767084d7b8b335bbe2116c287f72459.1421115389.git.shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1421117822; bh=8/0YZf8JOFh6BrWilj2xLqrpEzHwfGmZ+0PT4vF6Nh0=; h=Received:Received:Received:From:To:Subject:Date:Message-Id: MIME-Version:Content-Type; b=eZnpvu1NwvxX7t5vKDp9ez54nX7sLHJkjxghetMkzI6y0Gtw3fEnCQXcyGkaW5TOb ycNPk0VQCjRPCrNVKH7GvXDQBeTI1wltReYZJTz3ucuf5h2iPPhuEE7MGsKONXYpaK jlstTTJL1FuX7v4vspjqKEmXWxQnuotq9NFaDKa4rpUzT0hF6c59Cqw4Dv9GgOxCcD UvdVG1IoY6foF5MtBqjrJ+nv+3DEBVGFyRyiOJljGE0zz9MBtDXvFye6YU8aRHyB31 9I3boYyJLE3gPL/0r5U4vDdr5N2ic/iOSjg6/QUHh9rtxDPni6YT+9PoBiZIpLlwSz x7yIXXJVFO/qg== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP au0828 picked up UNSET from videobuf-core.h and fails to compile if videobuf-core.h isn't included. Change it to use -1U instead to fix the problem. drivers/media/usb/au0828/au0828-cards.c:47:17: error: ‘UNSET’ undeclared here (not in a function) .tuner_type = UNSET, Signed-off-by: Shuah Khan Acked-by: Lad, Prabhakar --- drivers/media/usb/au0828/au0828-cards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c index da87f1c..edc2735 100644 --- a/drivers/media/usb/au0828/au0828-cards.c +++ b/drivers/media/usb/au0828/au0828-cards.c @@ -44,7 +44,7 @@ static void hvr950q_cs5340_audio(void *priv, int enable) struct au0828_board au0828_boards[] = { [AU0828_BOARD_UNKNOWN] = { .name = "Unknown board", - .tuner_type = UNSET, + .tuner_type = -1U, .tuner_addr = ADDR_UNSET, }, [AU0828_BOARD_HAUPPAUGE_HVR850] = {