]> git.sur5r.net Git - u-boot/blobdiff - include/thor.h
Makefile: drop unused cpp_cfg macro
[u-boot] / include / thor.h
index afeade45646bff851519cdbf58364d9ee944fc08..62501bda17c5ce4aa7e388a57c7210e04256a1c9 100644 (file)
@@ -1,11 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * thor.h -- USB THOR Downloader protocol
  *
  * Copyright (C) 2013 Samsung Electronics
  * Lukasz Majewski  <l.majewski@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  */
 
 #ifndef __THOR_H_
 
 int thor_handle(void);
 int thor_init(void);
-
-#ifdef CONFIG_THOR_FUNCTION
 int thor_add(struct usb_configuration *c);
-#else
-int thor_add(struct usb_configuration *c)
-{
-       return 0;
-}
-#endif
 #endif /* __THOR_H_ */