VIDEO: cyberpro: pci_request_regions needs a persistent name
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 24 Dec 2009 13:36:21 +0000 (13:36 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 24 Dec 2009 18:34:09 +0000 (18:34 +0000)
commited5a35acbb48d512332a53565e6341c65eecfa29
tree7bc88d19fd4a2a3cd996b56a7b0c5af7f4370fcb
parente8b8f5ef90b934bc9eaef7c8960ecd9dda9f7a62
VIDEO: cyberpro: pci_request_regions needs a persistent name

Don't pass a name pointer from the kernel stack, it will not survive
and will result in corrupted /proc/iomem output.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/cyber2000fb.c