blob: afeade45646bff851519cdbf58364d9ee944fc08 [file] [log] [blame]
Lukasz Majewskic5279372013-10-08 14:30:42 +02001/*
2 * thor.h -- USB THOR Downloader protocol
3 *
4 * Copyright (C) 2013 Samsung Electronics
5 * Lukasz Majewski <l.majewski@samsung.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 *
9 */
10
11#ifndef __THOR_H_
12#define __THOR_H_
13
14#include <linux/usb/composite.h>
15
16int thor_handle(void);
17int thor_init(void);
18
19#ifdef CONFIG_THOR_FUNCTION
20int thor_add(struct usb_configuration *c);
21#else
22int thor_add(struct usb_configuration *c)
23{
24 return 0;
25}
26#endif
27#endif /* __THOR_H_ */