817908573fe842dab7e59c8f904493bfdb08a7f5
[linux-2.6-microblaze.git] / include / linux / usb / tilegx.h
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright 2012 Tilera Corporation. All Rights Reserved.
4  *
5  *   This program is free software; you can redistribute it and/or
6  *   modify it under the terms of the GNU General Public License
7  *   as published by the Free Software Foundation, version 2.
8  *
9  *   This program is distributed in the hope that it will be useful, but
10  *   WITHOUT ANY WARRANTY; without even the implied warranty of
11  *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
12  *   NON INFRINGEMENT.  See the GNU General Public License for
13  *   more details.
14  *
15  * Structure to contain platform-specific data related to Tile-Gx USB
16  * controllers.
17  */
18
19 #ifndef _LINUX_USB_TILEGX_H
20 #define _LINUX_USB_TILEGX_H
21
22 #include <gxio/usb_host.h>
23
24 struct tilegx_usb_platform_data {
25         /* GXIO device index. */
26         int dev_index;
27
28         /* GXIO device context. */
29         gxio_usb_host_context_t usb_ctx;
30
31         /* Device IRQ. */
32         unsigned int irq;
33 };
34
35 #endif /* _LINUX_USB_TILEGX_H */