Revert 64d048be. It breaks h300.

HAVE_USB_CHARGING_ENABLE is not only used for software usb, so checking
for HAVE_USBSTACK is wrong.

Change-Id: I422796b517c262f33f35623e992434219e288424
This commit is contained in:
Frank Gevaerts 2012-12-26 18:01:19 +01:00
parent 64d048be2b
commit 18f0ba003c
4 changed files with 5 additions and 5 deletions

View file

@ -619,7 +619,7 @@ struct user_settings
#ifdef HAVE_SPDIF_POWER
bool spdif_enable; /* S/PDIF power on/off */
#endif
#if defined (HAVE_USBSTACK) && defined(HAVE_USB_CHARGING_ENABLE)
#ifdef HAVE_USB_CHARGING_ENABLE
int usb_charging;
#endif