Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 typedef struct {
        struct pci_dev *pci_dev;
        int pci_enabled;
-       volatile jr3_t *iobase;
+       volatile struct jr3_t *iobase;
        int n_channels;
        struct timer_list timer;
 } jr3_pci_dev_private;
                return -EIO;
        }
        devpriv->pci_enabled = 1;
-       devpriv->iobase = ioremap(pci_resource_start(card, 0), sizeof(jr3_t));
+       devpriv->iobase = ioremap(pci_resource_start(card, 0), sizeof(struct jr3_t));
        result = alloc_subdevices(dev, devpriv->n_channels);
        if (result < 0)
                goto out;
 
        intern_transform_t transforms[0x10];    /* offset 0x0200 */
 } jr3_channel_t;
 
-typedef struct {
+struct jr3_t {
        struct {
                u32 program_low[0x4000];        /*  0x00000 - 0x10000 */
                jr3_channel_t data;     /*  0x10000 - 0x10c00 */
                u32 reset;      /*  0x60000 - 0x60004 */
                char pad3[0x20000 - 0x00004];   /*  0x60004 - 0x80000 */
        } channel[4];
-} jr3_t;
+};