staging: sm7xxfb: reserve PCI resource
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sat, 28 Mar 2015 09:03:40 +0000 (14:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:55:03 +0000 (13:55 +0200)
commitf30a746bec5507d9781e876626d4bba7f5ab0c8e
treec1fc05dd00d7e5def777de938a6c3410b9628579
parent63b8ebe44ab6bc812f849818250e49e9157c309c
staging: sm7xxfb: reserve PCI resource

before starting to access any address inside the PCI region we should
reserve the resource and release the resource when the module exits.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c