Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186761
b: refs/heads/master
c: 3913add
h: refs/heads/master
i:
  186759: c27841a
v: v3
  • Loading branch information
Mark Allyn authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent e4f7063 commit e91f649
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 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: 433e63c63eee9fd8ac3735ce5b41797f30d5ce58
refs/heads/master: 3913add413ab95b1e33738b44e9a2118afb11346
15 changes: 14 additions & 1 deletion trunk/drivers/staging/rar_register/rar_register.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,17 @@ int register_rar(int (*callback)(void *yourparameter), void *yourparameter)
}
EXPORT_SYMBOL(register_rar);

/* Suspend - returns -ENOSYS */
static int rar_suspend(struct pci_dev *dev, pm_message_t state)
{
return -ENOSYS;
}

static int rar_resume(struct pci_dev *dev)
{
return -ENOSYS;
}

/*
* This function registers the driver with the device subsystem (
* either PCI, USB, etc).
Expand Down Expand Up @@ -582,7 +593,9 @@ const struct pci_device_id *my_id_table = rar_pci_id_tbl;
static struct pci_driver rar_pci_driver = {
.name = "rar_register_driver",
.id_table = rar_pci_id_tbl,
.probe = rar_probe
.probe = rar_probe,
.suspend = rar_suspend,
.resume = rar_resume
};

static int __init rar_init_handler(void)
Expand Down

0 comments on commit e91f649

Please sign in to comment.