f_diag.h 848 B

12345678910111213141516171819202122232425
  1. /* drivers/usb/gadget/f_diag.h
  2. *
  3. * Diag Function Device - Route DIAG frames between SMD and USB
  4. *
  5. * Copyright (C) 2008-2009 Google, Inc.
  6. * Copyright (c) 2009, The Linux Foundation. All rights reserved.
  7. * Author: Brian Swetland <swetland@google.com>
  8. * This software is licensed under the terms of the GNU General Public
  9. * License version 2, as published by the Free Software Foundation, and
  10. * may be copied, distributed, and modified under those terms.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. */
  18. #ifndef __F_DIAG_H
  19. #define __F_DIAG_H
  20. int diag_function_add(struct usb_configuration *c, const char *);
  21. #endif /* __F_DIAG_H */