No, it's gone.  It's there in the 2.6.24 headers:

# egrep -RHn class_device_create 
/usr/src/linux-headers-2.6.24-18-generic/include/linux
/usr/src/linux-headers-2.6.24-18-generic/include/linux/device.h:227:extern 
int __must_check class_device_create_file(struct class_device *,
/usr/src/linux-headers-2.6.24-18-generic/include/linux/device.h:294:extern 
int __must_check class_device_create_bin_file(struct class_device *,
/usr/src/linux-headers-2.6.24-18-generic/include/linux/device.h:314:extern 
struct class_device *class_device_create(struct class *cls,
#

and not there in the 2.6.26 headers

# egrep -RHn class_device_create 
/usr/src/linux-headers-2.6.26-3-generic/include/linux
#

It was removed in this commit on 12 March 2008:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c3b19ff06e0808555403491d61e8f0cbbb53e933

Dave

Mario Limonciello wrote:
> As far as you know, it has just been depracated, but not actually
> removed right?
> 
> 
> On 07/10/2008, Plantagenet <[EMAIL PROTECTED]> wrote:
>> Public bug reported:
>>
>> Binary package hint: lirc
>>
>> kernel 2.6.26 has deprecated class_device_create and
>> class_device_destroy.  lirc-modules-souce is based on lirc 0.8.3 and
>> doesn't compile on 2.6.26 (the kernel on Intrepid).  The CVS sources for
>> lirc accomodate 2.6.26 by changing class_device_create to device_create.
>> lirc-modules-source should be updated with newer lirc source.
>>
>> Description: Ubuntu intrepid (development branch)
>> Release:     8.10
>>
>> lirc:
>>   Installed: 0.8.3-0ubuntu1
>>   Candidate: 0.8.3-0ubuntu1
>>   Version table:
>>  *** 0.8.3-0ubuntu1 0
>>         500 http://us.archive.ubuntu.com intrepid/universe Packages
>>         100 /var/lib/dpkg/status
>>
>> ProblemType: Bug
>> Architecture: amd64
>> Date: Thu Jul 10 06:41:31 2008
>> DistroRelease: Ubuntu 8.10
>> Package: lirc 0.8.3-0ubuntu1
>> PackageArchitecture: amd64
>> ProcEnviron:
>>  SHELL=/bin/bash
>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>>  LANG=en_US.UTF-8
>> SourcePackage: lirc
>> Uname: Linux 2.6.26-3-generic x86_64
>>
>> ** Affects: lirc (Ubuntu)
>>      Importance: Undecided
>>          Status: New
>>
>>
>> ** Tags: apport-bug
>>
>> --
>> lirc-modules-source doesn't compile with 2.6.26
>> https://bugs.launchpad.net/bugs/247233
>> You received this bug notification because you are a member of MythTV
>> Ubuntu Maintainers, which is subscribed to lirc in ubuntu.
>>
  >

-- 
lirc-modules-source doesn't compile with 2.6.26
https://bugs.launchpad.net/bugs/247233
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to