mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
3c59x: handle pci_name() being const
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>
This commit is contained in:
parent
eadcf0d704
commit
361d5ee3c0
@ -1010,7 +1010,7 @@ static int __devinit vortex_probe1(struct device *gendev,
|
|||||||
static int printed_version;
|
static int printed_version;
|
||||||
int retval, print_info;
|
int retval, print_info;
|
||||||
struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx];
|
struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx];
|
||||||
char *print_name = "3c59x";
|
const char *print_name = "3c59x";
|
||||||
struct pci_dev *pdev = NULL;
|
struct pci_dev *pdev = NULL;
|
||||||
struct eisa_device *edev = NULL;
|
struct eisa_device *edev = NULL;
|
||||||
DECLARE_MAC_BUF(mac);
|
DECLARE_MAC_BUF(mac);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user