From 1c09a82cedcda1541adf81f19d86a7773f3f87c6 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Wed, 25 Mar 2009 11:05:36 -0400 Subject: [PATCH] Staging: comedi: Remove PCRANGE typedef in addi-data Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi-data/addi_common.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/addi_common.h b/drivers/staging/comedi/drivers/addi-data/addi_common.h index 1050a5208c44..badc38304611 100644 --- a/drivers/staging/comedi/drivers/addi-data/addi_common.h +++ b/drivers/staging/comedi/drivers/addi-data/addi_common.h @@ -36,10 +36,6 @@ #define ERROR -1 #define SUCCESS 1 -/* variable type definition */ - -typedef const struct comedi_lrange *PCRANGE; - #define LOBYTE(W) (unsigned char)((W) & 0xFF) #define HIBYTE(W) (unsigned char)(((W) >> 8) & 0xFF) #define MAKEWORD(H, L) (unsigned short)((L) | ((H) << 8)) @@ -81,15 +77,15 @@ typedef struct { int i_NbrAoChannel; // num of D/A chans int i_AiMaxdata; // resolution of A/D int i_AoMaxdata; // resolution of D/A - PCRANGE pr_AiRangelist; // rangelist for A/D - PCRANGE pr_AoRangelist; // rangelist for D/A + const struct comedi_lrange *pr_AiRangelist; /* rangelist for A/D */ + const struct comedi_lrange *pr_AoRangelist; /* rangelist for D/A */ int i_NbrDiChannel; // Number of DI channels int i_NbrDoChannel; // Number of DO channels int i_DoMaxdata; // data to set all chanels high int i_NbrTTLChannel; // Number of TTL channels - PCRANGE pr_TTLRangelist; // rangelist for TTL + const struct comedi_lrange *pr_TTLRangelist; /* rangelist for TTL */ int i_Dma; // dma present or not int i_Timer; // timer subdevice present or not