Hello community, here is the log from the commit of package pcc-acpi checked in at Mon Jul 28 02:41:38 CEST 2008. -------- --- arch/i386/pcc-acpi/pcc-acpi.changes 2007-10-23 19:21:19.000000000 +0200 +++ /mounts/work_src_done/STABLE/pcc-acpi/pcc-acpi.changes 2008-07-28 01:38:02.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jul 28 01:37:43 CEST 2008 - ro@suse.de + +- fix build on 2.6.26 (input_dev has no member private) + +------------------------------------------------------------------- New: ---- pcc-acpi-0.9-2.6.26.input_dev_private.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcc-acpi.spec ++++++ --- /var/tmp/diff_new_pack.v25675/_old 2008-07-28 02:41:29.000000000 +0200 +++ /var/tmp/diff_new_pack.v25675/_new 2008-07-28 02:41:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pcc-acpi (Version 0.9) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,11 +11,12 @@ # norootforbuild # nodebuginfo + Name: pcc-acpi BuildRequires: kernel-source kernel-syms module-init-tools Summary: Panasonic Hotkey Driver Version: 0.9 -Release: 3 +Release: 4 Group: System/Kernel License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -25,6 +26,7 @@ Patch0: pcc-acpi-0.9-add-missing-input-unregister-device.diff Patch1: fseidel_fix_newacpidevmanagement.patch Patch2: pcc-acpi-0.9-2.6.23-acpievent-fix.diff +Patch3: pcc-acpi-0.9-2.6.26.input_dev_private.diff Source100: preamble ExclusiveArch: %ix86 x86_64 %suse_kernel_module_package -n pcc-acpi -p %_sourcedir/preamble um @@ -61,6 +63,7 @@ %patch0 %patch1 -p1 %patch2 -p0 +%patch3 -p0 %build for flavor in %flavors_to_build; do @@ -81,12 +84,15 @@ %clean rm -rf $RPM_BUILD_ROOT + %changelog -* Tue Oct 23 2007 - seife@suse.de +* Mon Jul 28 2008 ro@suse.de +- fix build on 2.6.26 (input_dev has no member private) +* Tue Oct 23 2007 seife@suse.de - fix build with 2.6.23 acpi changes (acpi_bus_generate_event -> acpi_bus_generate_proc_event) -* Thu Sep 06 2007 - tuxbox@suse.de +* Thu Sep 06 2007 tuxbox@suse.de - fixed acpi device id registration to new autoloading framework and adapted resume function to new api -* Wed Jun 13 2007 - seife@suse.de +* Wed Jun 13 2007 seife@suse.de - initial submission ++++++ pcc-acpi-0.9-2.6.26.input_dev_private.diff ++++++ --- pcc_acpi.c +++ pcc_acpi.c @@ -395,7 +395,7 @@ { struct acpi_hotkey *hotkey = (struct acpi_hotkey *) seq->private; struct input_dev *hotk_input_dev = hotkey->input_dev; - struct pcc_keyinput *keyinput = hotk_input_dev->private; + struct pcc_keyinput *keyinput = input_get_drvdata(hotk_input_dev); ACPI_FUNCTION_TRACE("acpi_pcc_keyinput_show"); @@ -548,7 +548,7 @@ write_string[count] = '\0'; if (sscanf(write_string, "%i", &key_mode) == 1 && (key_mode == 0 || key_mode == 1)) { - keyinput = (struct pcc_keyinput *) hotkey->input_dev->private; + keyinput = (struct pcc_keyinput *) input_get_drvdata(hotkey->input_dev); keyinput->key_mode = key_mode; } @@ -561,7 +561,7 @@ static void acpi_pcc_generete_keyinput(struct acpi_hotkey *hotkey) { struct input_dev *hotk_input_dev = hotkey->input_dev; - struct pcc_keyinput *keyinput = hotk_input_dev->private; + struct pcc_keyinput *keyinput = input_get_drvdata(hotk_input_dev); int hinf = hotkey->status; int key_code, hkey_num; const int key_map[] = { @@ -828,6 +828,6 @@ pcc_keyinput->hotkey = hotkey; - hotk_input_dev->private = pcc_keyinput; + input_set_drvdata(hotk_input_dev,pcc_keyinput); hotkey->input_dev = hotk_input_dev; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de