From patchwork Mon May 9 19:53:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 6560 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Mon, 09 May 2011 21:55:00 +0200 Received: from mchehab by gaivota with local (Exim 4.73) (envelope-from ) id 1QJWXk-0001jh-49 for mchehab@gaivota; Mon, 09 May 2011 21:55:00 +0200 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.19) for (single-drop); Mon, 09 May 2011 21:55:00 +0200 (CEST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1QJWXC-0001pG-2O; Mon, 09 May 2011 19:54:26 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754533Ab1EITyO (ORCPT + 1 other); Mon, 9 May 2011 15:54:14 -0400 Received: from mail-in-03.arcor-online.net ([151.189.21.43]:57280 "EHLO mail-in-03.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726Ab1EITyN (ORCPT ); Mon, 9 May 2011 15:54:13 -0400 Received: from mail-in-18-z2.arcor-online.net (mail-in-18-z2.arcor-online.net [151.189.8.35]) by mx.arcor.de (Postfix) with ESMTP id 418D0D7D39; Mon, 9 May 2011 21:54:12 +0200 (CEST) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-18-z2.arcor-online.net (Postfix) with ESMTP id 3D3C533A35C; Mon, 9 May 2011 21:54:12 +0200 (CEST) Received: from localhost.localdomain (dslb-178-000-053-073.pools.arcor-ip.net [178.0.53.73]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-14.arcor-online.net (Postfix) with ESMTPA id E72C59C5E6; Mon, 9 May 2011 21:54:11 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net E72C59C5E6 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1304970852; bh=zXHbDBMD/7uNApchrBFqkXpL9U1zDaLyIuFORjKpDo4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=oEHzMJtcF7JiFgiGqTMgptJAQ7qcO9KAJ/zUaK5R/bFfV6AgNadG6M7bzw8Fc8kZX MV/XVPu5D9UqIkH9PMMKztT7p7aoT4dVxCr5oC68v1qQMzInGr6uMDpYk6BWHBseDq hyvek16fGMQGS5grwrogABqCbS8Q/f7cci58qA1w= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, d.belimov@gmail.com, Stefan Ringel Subject: [PATCH 06/16] tm6000: add eeprom Date: Mon, 9 May 2011 21:53:54 +0200 Message-Id: <1304970844-20955-6-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1304970844-20955-1-git-send-email-stefan.ringel@arcor.de> References: <1304970844-20955-1-git-send-email-stefan.ringel@arcor.de> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab From: Stefan Ringel add eeprom Signed-off-by: Stefan Ringel --- drivers/staging/tm6000/tm6000-cards.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index 9f4daac..199cc86 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -84,6 +84,7 @@ struct tm6000_board { struct tm6000_input vinput[3]; struct tm6000_input rinput; + char *ir_codes; }; @@ -91,7 +92,8 @@ struct tm6000_board tm6000_boards[] = { [TM6000_BOARD_UNKNOWN] = { .name = "Unknown tm6000 video grabber", .caps = { - .has_tuner = 1, + .has_tuner = 1, + .has_eeprom = 1, }, .gpio = { .tuner_reset = TM6000_GPIO_1, @@ -118,6 +120,7 @@ struct tm6000_board tm6000_boards[] = { .tuner_addr = 0xc2 >> 1, .caps = { .has_tuner = 1, + .has_eeprom = 1, }, .gpio = { .tuner_reset = TM6000_GPIO_1, @@ -143,7 +146,7 @@ struct tm6000_board tm6000_boards[] = { .tuner_addr = 0xc2 >> 1, .caps = { .has_tuner = 1, - .has_dvb = 1, + .has_eeprom = 1, }, .gpio = { .tuner_reset = TM6000_GPIO_1,