Lukasz Majewski | 61e5493 | 2013-10-08 14:30:42 +0200 | [diff] [blame] | 1 | /* |
| 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 | |
| 16 | int thor_handle(void); |
| 17 | int thor_init(void); |
| 18 | |
| 19 | #ifdef CONFIG_THOR_FUNCTION |
| 20 | int thor_add(struct usb_configuration *c); |
| 21 | #else |
| 22 | int thor_add(struct usb_configuration *c) |
| 23 | { |
| 24 | return 0; |
| 25 | } |
| 26 | #endif |
| 27 | #endif /* __THOR_H_ */ |