gpu: pvr: add pvr_lock/remove unneeded lock headers
authorImre Deak <imre.deak@nokia.com>
Wed, 31 Mar 2010 11:55:54 +0000 (14:55 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:40 +0000 (21:09 +0300)
commita9ac4482b30a6c0605139f2e6527c379f24e7486
tree48c2b5f7e4dbe3d3b4b6ae2c017ec812f8f9f8da
parente03e90b8fa39ef6b2a23f6028a357c5ee35b85b7
gpu: pvr: add pvr_lock/remove unneeded lock headers

- Add a public interface for accessing this lock. It has been used
  as a public interface anyway and an upcoming patch needs to access
  it as well.

- Remove headers becoming unnecessary by this refactoring.

Note:
  Currently this lock provides for a course level locking protecting
  all HW and SW state tracking objects. We'll need to revise the use
  of the following additional locks in the driver. Their existance
  might not be justified, in which case we could just substitute
  them with pvr_lock:

  PVRSRVDvfsLock
  PVRSRVPowerLock

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/event.c
pvr/lock.h [deleted file]
pvr/mm.c
pvr/mmap.c
pvr/module.c
pvr/mutex.h [deleted file]
pvr/osfunc.c
pvr/pvr_bridge_k.c
pvr/pvr_bridge_km.h
pvr/pvr_debug.c