提交 679882ae 编写于 作者: S Santosh Y 提交者: Martin K. Petersen

scsi: ufs: Add missing UFS_MASK macro definition

Reported-by: NVenkatraman S <svenkatr@ti.com>
Reviewed-by: NVinayak Holikatti <vinholikatti@gmail.com>
Signed-off-by: NSantosh Y <santoshsy@gmail.com>
Signed-off-by: NZhangfei Gao <zhangfei.gao@linaro.org>
Reviewed-by: NSubhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 2ae75787
......@@ -83,6 +83,8 @@ enum {
MASK_UIC_DME_TEST_MODE_SUPPORT = 0x04000000,
};
#define UFS_MASK(mask, offset) ((mask) << (offset))
/* UFS Version 08h */
#define MINOR_VERSION_NUM_MASK UFS_MASK(0xFFFF, 0)
#define MAJOR_VERSION_NUM_MASK UFS_MASK(0xFFFF, 16)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册