Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141687
b: refs/heads/master
c: b3be94e
h: refs/heads/master
i:
  141685: e92bf11
  141683: eca61ee
  141679: 7de26ac
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 9c347d1 commit c4e404c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50792813130b94a64e34b89cd2cbfddeb85b7518
refs/heads/master: b3be94eade6d07270e2a89599f99d42bbcfd6e84
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/ni_660x.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ static DEFINE_PCI_DEVICE_TABLE(ni_660x_pci_table) = {

MODULE_DEVICE_TABLE(pci, ni_660x_pci_table);

typedef struct {
struct ni_660x_private {
struct mite_struct *mite;
struct ni_gpct_device *counter_dev;
uint64_t pfi_direction_bits;
Expand All @@ -431,9 +431,9 @@ typedef struct {
unsigned dma_configuration_soft_copies[NI_660X_MAX_NUM_CHIPS];
spinlock_t soft_reg_copy_lock;
unsigned short pfi_output_selects[NUM_PFI_CHANNELS];
} ni_660x_private;
};

static inline ni_660x_private *private(struct comedi_device * dev)
static inline struct ni_660x_private *private(struct comedi_device * dev)
{
return dev->private;
}
Expand Down Expand Up @@ -765,7 +765,7 @@ static unsigned ni_gpct_read_register(struct ni_gpct *counter,
ni_660x_register);
}

static inline struct mite_dma_descriptor_ring *mite_ring(ni_660x_private * priv,
static inline struct mite_dma_descriptor_ring *mite_ring(struct ni_660x_private * priv,
struct ni_gpct *counter)
{
return priv->mite_rings[counter->chip_index][counter->counter_index];
Expand Down Expand Up @@ -943,7 +943,7 @@ static int ni_660x_allocate_private(struct comedi_device * dev)
int retval;
unsigned i;

if ((retval = alloc_private(dev, sizeof(ni_660x_private))) < 0)
if ((retval = alloc_private(dev, sizeof(struct ni_660x_private))) < 0)
return retval;
spin_lock_init(&private(dev)->mite_channel_lock);
spin_lock_init(&private(dev)->soft_reg_copy_lock);
Expand Down

0 comments on commit c4e404c

Please sign in to comment.