MTD: handle pci_name() being const
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Jul 2008 19:46:22 +0000 (12:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:55:03 +0000 (21:55 -0700)
commiteadcf0d704a46979c29984fa05f1fc413c775bcb
tree79d417f4d98321929bde702fe1ff7f13ed27f465
parent89bcb05d9bbf8bd559988bca4f2579defd28d008
MTD: handle pci_name() being const

This changes the MTD core to handle pci_name() now returning a constant
string.

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/devices/block2mtd.c
include/linux/mtd/map.h
include/linux/mtd/mtd.h