Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195891 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +10 lines)
Line  Link Here
0
-- acpi4asus-0.41.orig/driver/asus-laptop.c
0
++ acpi4asus-0.41/driver/asus-laptop.c
Lines 204-213 Link Here
204
 */
204
 */
205
static int asus_hotk_add(struct acpi_device *device);
205
static int asus_hotk_add(struct acpi_device *device);
206
static int asus_hotk_remove(struct acpi_device *device, int type);
206
static int asus_hotk_remove(struct acpi_device *device, int type);
207
static struct acpi_device_id asus_hotk_driver_ids[] = {
208
	{ASUS_HOTK_HID, 0},
209
	{"", 0}
210
};
211
207
static struct acpi_driver asus_hotk_driver = {
212
static struct acpi_driver asus_hotk_driver = {
208
	.name = ASUS_HOTK_NAME,
213
	.name = ASUS_HOTK_NAME,
209
	.class = ASUS_HOTK_CLASS,
214
	.class = ASUS_HOTK_CLASS,
210
	.ids = ASUS_HOTK_HID,
215
	.ids = asus_hotk_driver_ids,
211
	.ops = {
216
	.ops = {
212
		.add = asus_hotk_add,
217
		.add = asus_hotk_add,
213
		.remove = asus_hotk_remove,
218
		.remove = asus_hotk_remove,
Lines 731-737 Link Here
731
		lcd_blank(FB_BLANK_POWERDOWN);
736
		lcd_blank(FB_BLANK_POWERDOWN);
732
	}
737
	}
733
738
734
	acpi_bus_generate_event(hotk->device, event,
739
	acpi_bus_generate_proc_event(hotk->device, event,
735
				hotk->event_count[event % 128]++);
740
				hotk->event_count[event % 128]++);
736
741
737
	return;
742
	return;
Lines 1074-1081 Link Here
1074
}
1079
}
1075
1080
1076
#define  ASUS_LED_UNREGISTER(object)				\
1081
#define  ASUS_LED_UNREGISTER(object)				\
1077
	if(object##_led.class_dev				\
1082
	if(object##_led.dev					\
1078
	   && !IS_ERR(object##_led.class_dev))			\
1083
	   && !IS_ERR(object##_led.dev))			\
1079
		led_classdev_unregister(&object##_led)
1084
		led_classdev_unregister(&object##_led)
1080
1085
1081
static void asus_led_exit(void)
1086
static void asus_led_exit(void)

Return to bug 195891