Add a new LUN(lun0) which will be exposed as a CD-ROM having the attributes ro(read-only) & removable as enabled. This CD-ROM lun is used for saving read-only files which can be used for system requirements. Change-Id: Idff5aea8bce233e8b77a4b689323a2f1eb2523e1 Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
28 lines
830 B
C
28 lines
830 B
C
/*
|
|
* Platform data for Android USB
|
|
*
|
|
* Copyright (C) 2008 Google, Inc.
|
|
* Author: Mike Lockwood <lockwood@android.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef __LINUX_USB_ANDROID_H
|
|
#define __LINUX_USB_ANDROID_H
|
|
|
|
struct android_usb_platform_data {
|
|
int (*update_pid_and_serial_num)(uint32_t, const char *);
|
|
u32 swfi_latency;
|
|
u8 usb_core_id;
|
|
bool cdrom;
|
|
};
|
|
|
|
#endif /* __LINUX_USB_ANDROID_H */
|