summaryrefslogtreecommitdiff
path: root/packages/progear/progear-battery
diff options
context:
space:
mode:
Diffstat (limited to 'packages/progear/progear-battery')
-rw-r--r--packages/progear/progear-battery/.mtn2git_empty0
-rw-r--r--packages/progear/progear-battery/kernel-update.patch13
-rw-r--r--packages/progear/progear-battery/paths.patch20
3 files changed, 33 insertions, 0 deletions
diff --git a/packages/progear/progear-battery/.mtn2git_empty b/packages/progear/progear-battery/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/progear/progear-battery/.mtn2git_empty
diff --git a/packages/progear/progear-battery/kernel-update.patch b/packages/progear/progear-battery/kernel-update.patch
new file mode 100644
index 0000000000..89e83aa6ef
--- /dev/null
+++ b/packages/progear/progear-battery/kernel-update.patch
@@ -0,0 +1,13 @@
+Index: progear-battery-0.3/progear-sbs.c
+===================================================================
+--- progear-battery-0.3.orig/progear-sbs.c 2007-01-04 22:11:19.000000000 +0100
++++ progear-battery-0.3/progear-sbs.c 2007-01-04 22:11:30.000000000 +0100
+@@ -129,8 +129,6 @@
+
+ static struct i2c_driver sbs_driver =
+ {
+- .name ="Progear ACPI-SBS Interface",
+- .flags =I2C_DF_NOTIFY,
+ .attach_adapter =&sbs_attach_adapter,
+ .detach_client =&sbs_detach_client
+ };
diff --git a/packages/progear/progear-battery/paths.patch b/packages/progear/progear-battery/paths.patch
new file mode 100644
index 0000000000..850db7fbab
--- /dev/null
+++ b/packages/progear/progear-battery/paths.patch
@@ -0,0 +1,20 @@
+Index: progear-battery-0.3/Makefile
+===================================================================
+--- progear-battery-0.3.orig/Makefile 2007-01-04 22:10:23.000000000 +0100
++++ progear-battery-0.3/Makefile 2007-01-04 22:10:31.000000000 +0100
+@@ -2,12 +2,12 @@
+ KERNELDIR := /lib/modules/$(shell uname -r)
+
+ all :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) modules
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
+
+ clean :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) clean
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+
+ install :
+- $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR)/build M=$(PWD) modules_install
++ $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR) M=$(PWD) modules_install
+ depmod -a
+