Bug 52651

Summary: [PATCH]Undefined acpi_video_unregister in asus-wmi.c
Product: Drivers Reporter: Peter Voropaev (pavoropaev)
Component: Platform_x86Assignee: drivers_platform_x86 (drivers_platform_x86)
Status: RESOLVED INSUFFICIENT_DATA    
Severity: normal CC: alan, corentin.chary, lenb, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.7.1, 3.8-rc1,rc2,rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: .config file
asus-wmi: fix a build error

Description Peter Voropaev 2013-01-13 20:16:31 UTC
Created attachment 91211 [details]
.config file

While linking init/built-in.o throws:

drivers/built-in.o: In function `asus_wmi_add':
/home/nho/workshop/linux/drivers/platform/x86/asus-wmi.c:1706: undefined reference to `acpi_video_unregister'


Eee pc t101mt, default PC configuration. Linux Mint 14

Compilation keys:
CONCURRENCY_LEVEL=4
CHOST="x86_64-pc-Linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="$CFLAGS"

.config attached
Comment 1 Zhang Rui 2013-01-16 02:20:00 UTC
Created attachment 91371 [details]
asus-wmi: fix a build error

please check if this patch helps.
Comment 2 Peter Voropaev 2013-01-16 15:29:30 UTC
Patch allowed kernel to compile.
Resolved?
Comment 3 Aaron Lu 2013-04-12 02:11:51 UTC
Hi Corentin,

Any suggestions? Thanks.