[ltp] ibm-acpi 0.11 and Ubuntu Breezy???
Christopher Sawtell
linux-thinkpad@linux-thinkpad.org
Sat, 10 Sep 2005 16:28:46 +1200
--Boundary-00=_+DmIDzl4t5yvFHe
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Sat, 10 Sep 2005 14:57, Shannon McMackin wrote:
> I'm trying to upgrade ibm-acpi on my breezy install and am having some
> difficulty.
Apply attached tiddly patch, and re-compile.
--
CS
--Boundary-00=_+DmIDzl4t5yvFHe
Content-Type: text/x-diff;
charset="us-ascii";
name="ibm-acpi-0.11-0.11a.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="ibm-acpi-0.11-0.11a.diff"
Common subdirectories: ibm-acpi-0.11/config and ibm-acpi-0.11a/config
diff -C 4 ibm-acpi-0.11/ibm_acpi.c ibm-acpi-0.11a/ibm_acpi.c
*** ibm-acpi-0.11/ibm_acpi.c Thu Mar 17 23:06:16 2005
--- ibm-acpi-0.11a/ibm_acpi.c Sat Sep 10 16:24:53 2005
***************
*** 1751,1759 ****
return 0;
}
! static int device_add(struct acpi_device *device)
{
return 0;
}
--- 1751,1759 ----
return 0;
}
! static int ibm_acpi_device_add(struct acpi_device *device)
{
return 0;
}
***************
*** 1769,1777 ****
memset(ibm->driver, 0, sizeof(struct acpi_driver));
sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name);
ibm->driver->ids = ibm->hid;
! ibm->driver->ops.add = &device_add;
ret = acpi_bus_register_driver(ibm->driver);
if (ret < 0) {
printk(IBM_ERR "acpi_bus_register_driver(%s) failed: %d\n",
--- 1769,1777 ----
memset(ibm->driver, 0, sizeof(struct acpi_driver));
sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name);
ibm->driver->ids = ibm->hid;
! ibm->driver->ops.add = &ibm_acpi_device_add;
ret = acpi_bus_register_driver(ibm->driver);
if (ret < 0) {
printk(IBM_ERR "acpi_bus_register_driver(%s) failed: %d\n",
--Boundary-00=_+DmIDzl4t5yvFHe--