mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
b29002a157
Converting eem to the new function interface requires converting the USB eem's function code and its users. This patch converts the f_eem.c to the new function interface. The file is now compiled into a separate usb_f_eem.ko module. The old function interface is provided by means of a preprocessor conditional directives. After all users are converted, the old interface can be removed. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
28 lines
593 B
C
28 lines
593 B
C
/*
|
|
* u_eem.h
|
|
*
|
|
* Utility definitions for the eem function
|
|
*
|
|
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* Author: Andrzej Pietrasiewicz <andrzej.p@samsung.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.
|
|
*/
|
|
|
|
#ifndef U_EEM_H
|
|
#define U_EEM_H
|
|
|
|
#include <linux/usb/composite.h>
|
|
|
|
struct f_eem_opts {
|
|
struct usb_function_instance func_inst;
|
|
struct net_device *net;
|
|
bool bound;
|
|
};
|
|
|
|
#endif /* U_EEM_H */
|