mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
ANDROID: blkdev: add oem data to block_device_operations
Add ANDROID_OEM_DATA to block_device_operations which allows a new vendor specific function call. Bug: 193106408 Signed-off-by: Jaewon Kim <jaewon31.kim@samsung.com> Change-Id: I472f1cc25698c841841822908c4827545b8593df
This commit is contained in:
parent
26cd2564e1
commit
a0c429e8e1
|
|
@ -27,6 +27,7 @@
|
||||||
#include <linux/blkzoned.h>
|
#include <linux/blkzoned.h>
|
||||||
#include <linux/pm.h>
|
#include <linux/pm.h>
|
||||||
#include <linux/android_kabi.h>
|
#include <linux/android_kabi.h>
|
||||||
|
#include <linux/android_vendor.h>
|
||||||
|
|
||||||
struct module;
|
struct module;
|
||||||
struct scsi_ioctl_command;
|
struct scsi_ioctl_command;
|
||||||
|
|
@ -1870,6 +1871,7 @@ struct block_device_operations {
|
||||||
|
|
||||||
ANDROID_KABI_RESERVE(1);
|
ANDROID_KABI_RESERVE(1);
|
||||||
ANDROID_KABI_RESERVE(2);
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_OEM_DATA(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#ifdef CONFIG_COMPAT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user