Share

Linux on the Microsoft Xbox

Tracker: Bugs

5 Xpad Bug (kernel access methods deprecated) - ID: 2781914
Last Update: Attachment added ( peterkirby )

Compiling with Linux kernel 2.6.26 gives these errors:

/etc/xpad/xpad.c: In function ‘xpad_open’:
/etc/xpad/xpad.c:382: error: ‘struct input_dev’ has no member named
‘private’
/etc/xpad/xpad.c: In function ‘xpad_close’:
/etc/xpad/xpad.c:408: error: ‘struct input_dev’ has no member named
‘private’
/etc/xpad/xpad.c: In function ‘xpad_probe’:
/etc/xpad/xpad.c:496: error: ‘struct input_dev’ has no member named
‘cdev’
/etc/xpad/xpad.c:497: error: ‘struct input_dev’ has no member named
‘private’

The source of these errors can be seen from these webpages:

http://kerneltrap.org/mailarchive/git-commits-head/2008/2/7/770834
http://kerneltrap.org/mailarchive/git-commits-head/2008/2/7/770914

The attached file is an xpad.c that compiled and ran with kernel 2.6.26.


Peter Kirby ( peterkirby ) - 2009-04-27 05:15

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
xpad.c could be used to make a patch for this issue Download

Change ( 1 )

Field Old Value Date By
File Added 324555: xpad.c 2009-04-27 05:15 peterkirby