[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] Remove unused includes from u-boot
Hi Alan, please commit this patch.
Thank you.
Commit message:
Remove unused includes from u-boot sources.
Index: sys/usb/src.km/usb.c
===================================================================
RCS file: /mint/freemint/sys/usb/src.km/usb.c,v
retrieving revision 1.12
diff -u -8 -r1.12 usb.c
--- sys/usb/src.km/usb.c 23 Mar 2014 17:34:43 -0000 1.12
+++ sys/usb/src.km/usb.c 1 Apr 2014 08:51:02 -0000
@@ -29,38 +29,23 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*/
-#ifdef __MINT__
#include "global.h"
#include "config.h"
#include "usb.h"
#include "hub.h"
#include "ucd.h"
#include "ucdload.h"
#include "uddload.h"
-#else
-#include <common.h>
-#include <command.h>
-#include <asm/processor.h>
-#include <linux/compiler.h>
-#include <linux/ctype.h>
-#include <asm/byteorder.h>
-#include <asm/unaligned.h>
-
-#include <usb.h>
-#ifdef CONFIG_4xx
-#include <asm/4xx_pci.h>
-#endif
-#endif
/*static*/ struct usb_device usb_dev[USB_MAX_DEVICE];
static long asynch_allowed;
char usb_started; /* flag for the started/stopped USB status */
static long usb_find_interface_driver (struct usb_device *dev, unsigned ifnum);
/***************************************************************************