Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126739
b: refs/heads/master
c: 18223a9
h: refs/heads/master
i:
  126737: 540ecfe
  126735: acf4735
v: v3
  • Loading branch information
Kamalesh Babulal authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent eb00232 commit a0a8a75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 3fedd14818592016f7ffd84dfe134881b3896ecf
refs/heads/master: 18223a99e60787ce41159ed321c8f0a21c328ac1
12 changes: 6 additions & 6 deletions trunk/drivers/staging/meilhaus/memain.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,15 +422,15 @@ static int me_probe_pci(struct pci_dev *dev, const struct pci_device_id *id)
PDEBUG("module_name: %s\n", module_name);

if ((constructor =
(me_pci_constructor_t) __symbol_get(constructor_name)) == NULL) {
(me_pci_constructor_t) symbol_get(constructor_name)) == NULL) {
if (request_module(module_name)) {
PERROR("Error while request for module %s.\n",
module_name);
return -ENODEV;
}

if ((constructor =
(me_pci_constructor_t) __symbol_get(constructor_name)) ==
(me_pci_constructor_t) symbol_get(constructor_name)) ==
NULL) {
PERROR("Can't get %s driver module constructor.\n",
module_name);
Expand All @@ -441,7 +441,7 @@ static int me_probe_pci(struct pci_dev *dev, const struct pci_device_id *id)
if ((device & 0xF000) == 0x4000) { // Bosch build has differnt constructor for me4600.
if ((n_device =
(*constructor_bosch) (dev, me_bosch_fw)) == NULL) {
__symbol_put(constructor_name);
symbol_put(constructor_name);
PERROR
("Can't get device instance of %s driver module.\n",
module_name);
Expand All @@ -450,7 +450,7 @@ static int me_probe_pci(struct pci_dev *dev, const struct pci_device_id *id)
} else {
#endif
if ((n_device = (*constructor) (dev)) == NULL) {
__symbol_put(constructor_name);
symbol_put(constructor_name);
PERROR
("Can't get device instance of %s driver module.\n",
module_name);
Expand Down Expand Up @@ -503,7 +503,7 @@ static void release_instance(me_device_t * device)
if (plugged != ME_PLUGGED_IN) {
PDEBUG("release: medummy_constructor\n");

__symbol_put("medummy_constructor");
symbol_put("medummy_constructor");
} else {
if ((dev_id & 0xF000) == 0x6000) { // Exceptions: me61xx, me62xx, me63xx are handled by one driver.
dev_id &= 0xF0FF;
Expand All @@ -513,7 +513,7 @@ static void release_instance(me_device_t * device)
constructor_name[3] += (char)((dev_id >> 8) & 0x000F);
PDEBUG("release: %s\n", constructor_name);

__symbol_put(constructor_name);
symbol_put(constructor_name);
}
}

Expand Down

0 comments on commit a0a8a75

Please sign in to comment.