projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eadcf0d
)
3c59x: handle pci_name() being const
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 2 Jul 2008 19:46:22 +0000
(12:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 22 Jul 2008 04:55:03 +0000
(21:55 -0700)
This changes vortex_prob1() to handle pci_name() now returning a
constant string.
Cc: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/3c59x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/3c59x.c
b/drivers/net/3c59x.c
index aabad8ce7458c852a496422991c0683c0fe43d26..8db4e6b89482abc37c68c6cedf6396984b4f3a09 100644
(file)
--- a/
drivers/net/3c59x.c
+++ b/
drivers/net/3c59x.c
@@
-1010,7
+1010,7
@@
static int __devinit vortex_probe1(struct device *gendev,
static int printed_version;
int retval, print_info;
struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx];
- char *print_name = "3c59x";
+ c
onst c
har *print_name = "3c59x";
struct pci_dev *pdev = NULL;
struct eisa_device *edev = NULL;
DECLARE_MAC_BUF(mac);