[ar71xx] register parallel flash device on the AP83 board
[openwrt.git] / target / linux / adm5120 / files / drivers / usb / host / adm5120-drv.c
index 04845d9..92971f2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * ADM5120 HCD (Host Controller Driver) for USB
  *
 /*
  * ADM5120 HCD (Host Controller Driver) for USB
  *
- * Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
+ * Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org>
  *
  * This file was derived from: drivers/usb/host/ohci-au1xxx.c
  *   (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at>
  *
  * This file was derived from: drivers/usb/host/ohci-au1xxx.c
  *   (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at>
  *   Modified for AMD Alchemy Au1xxx
  *    by Matt Porter <mporter@kernel.crashing.org>
  *
  *   Modified for AMD Alchemy Au1xxx
  *    by Matt Porter <mporter@kernel.crashing.org>
  *
- * This file is licenced under the GPL.
+ *  This program is free software; you can redistribute it and/or modify it
+ *  under the terms of the GNU General Public License version 2 as published
+ *  by the Free Software Foundation.
+ *
  */
 
 #include <linux/platform_device.h>
 #include <linux/signal.h>
 
 #include <asm/bootinfo.h>
  */
 
 #include <linux/platform_device.h>
 #include <linux/signal.h>
 
 #include <asm/bootinfo.h>
-#include <adm5120_defs.h>
+#include <asm/mach-adm5120/adm5120_defs.h>
 
 #ifdef DEBUG
 #define HCD_DBG(f, a...)       printk(KERN_DEBUG "%s: " f, hcd_name, ## a)
 
 #ifdef DEBUG
 #define HCD_DBG(f, a...)       printk(KERN_DEBUG "%s: " f, hcd_name, ## a)
@@ -171,7 +174,6 @@ static const struct hc_driver adm5120_hc_driver = {
         */
        .hub_status_data =      admhc_hub_status_data,
        .hub_control =          admhc_hub_control,
         */
        .hub_status_data =      admhc_hub_status_data,
        .hub_control =          admhc_hub_control,
-       .hub_irq_enable =       admhc_hub_irq_enable,
 #ifdef CONFIG_PM
        .bus_suspend =          admhc_bus_suspend,
        .bus_resume =           admhc_bus_resume,
 #ifdef CONFIG_PM
        .bus_suspend =          admhc_bus_suspend,
        .bus_resume =           admhc_bus_resume,
@@ -185,9 +187,6 @@ static int usb_hcd_adm5120_probe(struct platform_device *pdev)
 {
        int ret;
 
 {
        int ret;
 
-       if (mips_machgroup != MACH_GROUP_ADM5120)
-               return -ENODEV;
-
        ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev);
 
        return ret;
        ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev);
 
        return ret;
This page took 0.028259 seconds and 4 git commands to generate.