Comment 86 for bug 1305522

Revision history for this message
caleb h. (clebio) wrote :

Hi, I've been attempting to build this into the 3.14.8 kernel, since bug 1283938 is preventing me from using suspend on even 3.16 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283938). However, when I run `make` I get the error below. Please know that I'm comfortable with git, patches, and compiling from source, but know little about the linux kernel itself. Is there some other patch or dependency that would get this to work against 3.14.8?

The error:
```
  CC [M] drivers/hid/hid-rmi.o
drivers/hid/hid-rmi.c: In function ‘rmi_set_mode’:
drivers/hid/hid-rmi.c:168:2: error: implicit declaration of function ‘hid_hw_raw_request’ [-Werror=implicit-function-declaration]
  ret = hid_hw_raw_request(hdev, RMI_SET_RMI_MODE_REPORT_ID, txbuf,
  ^
drivers/hid/hid-rmi.c: In function ‘rmi_write_report’:
drivers/hid/hid-rmi.c:183:2: error: implicit declaration of function ‘hid_hw_output_report’ [-Werror=implicit-function-declaration]
  ret = hid_hw_output_report(hdev, (void *)report, len);
  ^
cc1: some warnings being treated as errors
make[2]: *** [drivers/hid/hid-rmi.o] Error 1
make[1]: *** [drivers/hid] Error 2
make: *** [drivers] Error 2
```