ANDROID: dma-buf: heaps: dmabuf page pool spinlock should be spinlock_t
Address checkpatch warning:
WARNING: struct spinlock should be spinlock_t
+ struct spinlock lock;
Fixes: 2977891dfd ("ANDROID: dma-buf: heaps: replace mutex lock with spinlock")
Bug: 275698445
Change-Id: I6f2fc7c5ec4bc56a43e8fa738577cb4b64cfcb3e
Signed-off-by: T.J. Mercier <tjmercier@google.com>
This commit is contained in:
parent
a3f0a1011d
commit
31d4df4302
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ enum {
|
|||
struct dmabuf_page_pool {
|
||||
int count[POOL_TYPE_SIZE];
|
||||
struct list_head items[POOL_TYPE_SIZE];
|
||||
struct spinlock lock;
|
||||
spinlock_t lock;
|
||||
gfp_t gfp_mask;
|
||||
unsigned int order;
|
||||
struct list_head list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue