#ifndef _PHY_GENERIC_H_ #define _PHY_GENERIC_H_ #include #include #include struct usb_phy_generic { struct usb_phy phy; struct device *dev; struct clk *clk; struct regulator *vcc; struct gpio_desc *gpiod_reset; struct gpio_desc *gpiod_vbus; struct regulator *vbus_draw; bool vbus_draw_enabled; unsigned long mA; unsigned int vbus; }; int usb_gen_phy_init(struct usb_phy *phy); void usb_gen_phy_shutdown(struct usb_phy *phy); int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop, struct usb_phy_generic_platform_data *pdata); #endif '>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
alue='20'>20
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2014-07-15 21:10:52 +0200
committerIngo Molnar <mingo@kernel.org>2014-07-17 11:48:15 +0200
commitacf59377267b5a74818e76873d0670b0ca6cf2fe (patch)
treee5a65e24338a165c5e99919e2d1d149d611f3be3 /kernel/locking/lockdep.c
parentb5e4111f027c4be85dbe97e090530d03c55c4cf4 (diff)
locking/lockdep: Only ask for /proc/lock_stat output when available
When lockdep turns itself off, the following message is logged: Please attach the output of /proc/lock_stat to the bug report Omit this message when CONFIG_LOCK_STAT is off, and /proc/lock_stat doesn't exist. Signed-off-by: Andreas Gruenbacher <andreas.gruenbacher@gmail.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1405451452-3824-1-git-send-email-andreas.gruenbacher@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/lockdep.c')