d6b352e072e64b82d25e50ade2c965ddf48ba05f
[kernel-power] / usbhost / usb / core / otg_whitelist.h
1 /*
2  * drivers/usb/core/otg_whitelist.h
3  *
4  * Copyright (C) 2004 Texas Instruments
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifdef  CONFIG_USB_OTG_WHITELIST
13 extern int is_targeted(struct usb_device *);
14 #else
15 static inline int is_targeted(struct usb_device *d)
16 {
17         return 0;
18 }
19 #endif
20