Openwrt/package/ueagle-atm/patches/100-compile_fix.patch
Felix Fietkau d724e995f0 compile fix for 2.6
SVN-Revision: 6169
2007-01-22 01:02:02 +00:00

28 lines
945 B
Diff

diff -Nur ueagle-atm-1.0d1/driver/ueagle.c ueagle-atm-1.0d1.patched/driver/ueagle.c
--- ueagle-atm-1.0d1/driver/ueagle.c 2005-11-19 18:36:04.000000000 +0100
+++ ueagle-atm-1.0d1.patched/driver/ueagle.c 2006-03-29 02:03:43.000000000 +0200
@@ -1652,7 +1652,6 @@
* USB driver descriptor
*/
static struct usb_driver uea_driver = {
- .owner = THIS_MODULE,
.name = "ueagle-atm",
.id_table = uea_ids,
.probe = uea_probe,
diff -ur ueagle.old/usbatm_iso/usbatm.h ueagle.dev/usbatm_iso/usbatm.h
--- ueagle.old/usbatm_iso/usbatm.h 2005-11-19 18:43:26.000000000 +0100
+++ ueagle.dev/usbatm_iso/usbatm.h 2007-01-22 01:57:14.742998144 +0100
@@ -24,11 +24,11 @@
#ifndef _USBATM_H_
#define _USBATM_H_
+#include <linux/autoconf.h>
#include <asm/semaphore.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/completion.h>
-#include <linux/config.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/kref.h>