staging: comedi: 8255_pci: fix possible NULL deref during detach
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / line6 / podhd.h
1 /*
2 * Line6 Pod HD
3 *
4 * Copyright (C) 2011 Stefan Hajnoczi <stefanha@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
9 *
10 */
11
12 #ifndef PODHD_H
13 #define PODHD_H
14
15 #include <linux/usb.h>
16
17 #include "driver.h"
18
19 struct usb_line6_podhd {
20 /**
21 Generic Line6 USB data.
22 */
23 struct usb_line6 line6;
24 };
25
26 extern void line6_podhd_disconnect(struct usb_interface *interface);
27 extern int line6_podhd_init(struct usb_interface *interface,
28 struct usb_line6_podhd *podhd);
29
30 #endif /* PODHD_H */