From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933157Ab1IBD5V (ORCPT ); Thu, 1 Sep 2011 23:57:21 -0400 Received: from mail-pz0-f42.google.com ([209.85.210.42]:35020 "EHLO mail-pz0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753757Ab1IBD5U (ORCPT ); Thu, 1 Sep 2011 23:57:20 -0400 From: "Leonid V. Fedorenchik" To: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , Ruslan Pisarev , Ilia Mirkin , Joe Perches , Palash Bandyopadhyay , Hans Verkuil , Arnd Bergmann , Youquan Song , linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, "Leonid V. Fedorenchik" Subject: [PATCH v4 01/19] Staging: cx25821: Get rid of typedef in cx25821.h Date: Fri, 2 Sep 2011 11:55:29 +0800 Message-Id: <1314935747-6881-2-git-send-email-leonidsbox@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1314935747-6881-1-git-send-email-leonidsbox@gmail.com> References: <1314935747-6881-1-git-send-email-leonidsbox@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Get rid of typedef in cx25821.h Signed-off-by: Leonid V. Fedorenchik --- drivers/staging/cx25821/cx25821.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/cx25821/cx25821.h b/drivers/staging/cx25821/cx25821.h index 6230243..a282592 100644 --- a/drivers/staging/cx25821/cx25821.h +++ b/drivers/staging/cx25821/cx25821.h @@ -179,15 +179,17 @@ struct cx25821_input { u32 gpio0, gpio1, gpio2, gpio3; }; -typedef enum { +enum port { CX25821_UNDEFINED = 0, CX25821_RAW, CX25821_264 -} port_t; +}; struct cx25821_board { char *name; - port_t porta, portb, portc; + enum port porta; + enum port portb; + enum port portc; unsigned int tuner_type; unsigned int radio_type; unsigned char tuner_addr; -- 1.7.0.4