mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
4b187fceec
This will be required in order to use the new function interface (usb_get_function_instance/usb_put_function_instance) Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyunmgin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
23 lines
569 B
C
23 lines
569 B
C
#ifndef __LINUX_FUNCTIONFS_H__
|
|
#define __LINUX_FUNCTIONFS_H__ 1
|
|
|
|
#include <uapi/linux/usb/functionfs.h>
|
|
|
|
|
|
struct ffs_data;
|
|
struct usb_composite_dev;
|
|
struct usb_configuration;
|
|
|
|
static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev)
|
|
__attribute__((warn_unused_result, nonnull));
|
|
static void functionfs_unbind(struct ffs_data *ffs)
|
|
__attribute__((nonnull));
|
|
|
|
static int functionfs_bind_config(struct usb_composite_dev *cdev,
|
|
struct usb_configuration *c,
|
|
struct ffs_data *ffs)
|
|
__attribute__((warn_unused_result, nonnull));
|
|
|
|
|
|
#endif
|