misc: mods: update MODS driver from Perforce

Bug 1919226
Bug 1996694

Change-Id: I60699dfee31703f755d237d3524887c73b3c53bc
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1603096
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Chris Dragan
2017-11-22 01:36:51 -08:00
committed by Laxman Dewangan
parent dd5a891726
commit 5014bffa1f
3 changed files with 113 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
#include <linux/slab.h>
#include <linux/miscdevice.h>
#include <linux/mutex.h>
#include <linux/fb.h>
#include "mods_config.h"
#include "mods.h"
@@ -76,6 +77,7 @@ struct mods_file_private_data {
int mods_id;
struct mem_type mem_type;
struct mutex mtx;
int mods_fb_suspended[FB_MAX];
};
typedef struct mods_file_private_data *MODS_PRIV;