summaryrefslogtreecommitdiffstats
path: root/drivers/char/stallion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r--drivers/char/stallion.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c
index 18fa8c645..1898849d8 100644
--- a/drivers/char/stallion.c
+++ b/drivers/char/stallion.c
@@ -2778,6 +2778,8 @@ static inline int stl_initpcibrd(int brdtype, struct pci_dev *devp)
devp->bus->number, devp->devfn);
#endif
+ if (pci_enable_device(devp))
+ return(-EIO);
if ((brdp = stl_allocbrd()) == (stlbrd_t *) NULL)
return(-ENOMEM);
if ((brdp->brdnr = stl_getbrdnr()) < 0) {