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)
commit8d91b75301a15f29df7225a5c63e3bdb28264eb7
tree7bc88d19fd4a2a3cd996b56a7b0c5af7f4370fcb
parentea5b081cae83634f43d807365a378cd238b5c656
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