Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364203
b: refs/heads/master
c: a0eeed4
h: refs/heads/master
i:
  364201: f8b89b5
  364199: 1b2b42d
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 23, 2013
1 parent 0d20d34 commit 4a1ce2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: eca7cf725617c08f02a9f74155ced6d2de9f0a63
refs/heads/master: a0eeed40100b2eca57afdf99d76c57dedd218a8a
7 changes: 3 additions & 4 deletions trunk/drivers/staging/comedi/drivers/ni_labpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static inline void labpc_writeb(unsigned int byte, unsigned long address)
writeb(byte, (void __iomem *)address);
}

#ifdef CONFIG_COMEDI_NI_LABPC_ISA
#if IS_ENABLED(CONFIG_COMEDI_NI_LABPC_ISA)
static const struct labpc_boardinfo labpc_boards[] = {
{
.name = "lab-pc-1200",
Expand Down Expand Up @@ -1710,10 +1710,9 @@ void labpc_common_detach(struct comedi_device *dev)
}
EXPORT_SYMBOL_GPL(labpc_common_detach);

#ifdef CONFIG_COMEDI_NI_LABPC_ISA
#if IS_ENABLED(CONFIG_COMEDI_NI_LABPC_ISA)
static int labpc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
const struct labpc_boardinfo *board = comedi_board(dev);
struct labpc_private *devpriv;
unsigned int irq = it->options[1];
unsigned int dma_chan = it->options[2];
Expand Down Expand Up @@ -1756,7 +1755,7 @@ static int labpc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
return 0;
}

void labpc_detach(struct comedi_device *dev)
static void labpc_detach(struct comedi_device *dev)
{
struct labpc_private *devpriv = dev->private;

Expand Down

0 comments on commit 4a1ce2e

Please sign in to comment.