Thread (2 messages) 2 messages, 2 authors, 2011-11-29

linux-next: build failure after merge of the hid tree

From: Stephen Rothwell <hidden>
Date: 2011-11-29 01:01:13
Also in: lkml

Hi Jiri,

After merging the hid tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/hid/hid-input.c: In function 'hidinput_hid_event':
drivers/hid/hid-input.c:865:6: error: 'struct hid_device' has no member named 'battery_val'
drivers/hid/hid-input.c:866:3: error: 'struct hid_device' has no member named 'battery_min'
drivers/hid/hid-input.c:866:3: error: 'struct hid_device' has no member named 'battery_max'

Caused by commit 4f5ca836bef3 ("HID: hid-input: add support for HID
devices reporting Battery Strength").  Those members are only defined when
CONFIG_HID_BATTERY_STRENGTH is set.

I have used the hid tree from next-20111128 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

  • (unnamed) [application/pgp-signature] 836 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help