diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:20:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:12 -0700 |
commit | 6ae9488bafce561c087310c051f92bbd0a27b891 (patch) | |
tree | 73fa4373316762b97feff664712618ea6d1e47c4 | |
parent | 39f7666080909466c0ed6d5fa48cce3403033ced (diff) |
Staging: comedi: Remove transform_t typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/jr3_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c index 7cd88546b201..8ff7b986235b 100644 --- a/drivers/staging/comedi/drivers/jr3_pci.c +++ b/drivers/staging/comedi/drivers/jr3_pci.c @@ -182,15 +182,15 @@ static int is_complete(volatile struct jr3_channel *channel) return get_s16(&channel->command_word0) == 0; } -typedef struct { +struct transform_t { struct { u16 link_type; s16 link_amount; } link[8]; -} transform_t; +}; static void set_transforms(volatile struct jr3_channel *channel, - transform_t transf, short num) + struct transform_t transf, short num) { int i; @@ -569,7 +569,7 @@ static struct poll_delay_t jr3_pci_poll_subdevice(struct comedi_subdevice * s) // Wait for offeset to stabilize (< 10 s according to manual) result = poll_delay_min_max(1000, 2000); } else { - transform_t transf; + struct transform_t transf; p->model_no = get_u16(&channel->model_no); |