mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
25
include/linux/container.h
Normal file
25
include/linux/container.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Definitions for container bus type.
|
||||
*
|
||||
* Copyright (C) 2013, Intel Corporation
|
||||
* Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
|
||||
/* drivers/base/power/container.c */
|
||||
extern struct bus_type container_subsys;
|
||||
|
||||
struct container_dev {
|
||||
struct device dev;
|
||||
int (*offline)(struct container_dev *cdev);
|
||||
};
|
||||
|
||||
static inline struct container_dev *to_container_dev(struct device *dev)
|
||||
{
|
||||
return container_of(dev, struct container_dev, dev);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue