Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324963
b: refs/heads/master
c: b3ca977
h: refs/heads/master
i:
  324961: 7c7a3fb
  324959: a9d0ad5
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 986b76d commit 0ecb693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 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: 109daa79807a47dc56d7533a7fdcd0dc72c862b2
refs/heads/master: b3ca977f083db063c9e53db04d8b12373ded8867
18 changes: 1 addition & 17 deletions trunk/drivers/staging/comedi/drivers/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ static const struct me4000_board me4000_boards[] = {
/*-----------------------------------------------------------------------------
Meilhaus function prototypes
---------------------------------------------------------------------------*/
static int init_board_info(struct comedi_device *dev,
struct pci_dev *pci_dev_p);
static int xilinx_download(struct comedi_device *dev);
static int reset_board(struct comedi_device *dev);

Expand Down Expand Up @@ -310,9 +308,7 @@ static int me4000_probe(struct comedi_device *dev, struct comedi_devconfig *it)
if (!info->program_regbase)
return -ENODEV;

result = init_board_info(dev, pci_device);
if (result)
return result;
dev->irq = pci_device->irq;

result = xilinx_download(dev);
if (result)
Expand All @@ -325,18 +321,6 @@ static int me4000_probe(struct comedi_device *dev, struct comedi_devconfig *it)
return 0;
}

static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p)
{
/* Init spin locks */
/* spin_lock_init(&info->preload_lock); */
/* spin_lock_init(&info->ai_ctrl_lock); */

/* Get the irq assigned to the board */
dev->irq = pci_dev_p->irq;

return 0;
}

#define FIRMWARE_NOT_AVAILABLE 1
#if FIRMWARE_NOT_AVAILABLE
extern unsigned char *xilinx_firm;
Expand Down

0 comments on commit 0ecb693

Please sign in to comment.