[ltp] thinkpad-smapi from tp-smapi-source 0.40-8 does not build for 2.6.37-rc3

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Tue, 23 Nov 2010 22:21:58 -0200


On Tue, 23 Nov 2010, Martin Steigerwald wrote:
> m-a a-i tp-smapi fails to build on 2.6.37-rc3, while build works on 
> 2.6.36:

...

> /usr/src/modules/tp-smapi/thinkpad_ec.c:91: warning: type defaults to 
> ‘int’ in declaration of ‘DECLARE_MUTEX’

Hmm, needs to be changed to either use semasphores or mutexes.  The old
semaphore-as-mutex is gone in 2.6.36.

I am copying Shem, the author of tp-smapi.  Shem?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh