[#4327] can4linux fails to build with linux-2.6.26

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4327] can4linux fails to build with linux-2.6.26

Submitted By: Mike Frysinger

Open Date

2008-08-08 16:45:03     Close Date

2008-08-09 02:04:24

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

svn 2.6.26

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: can4linux fails to build with linux-2.6.26

Details:

 

the class_device code has been removed in recent kernel versions

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

 

drivers/char/can4linux/core.c: In function 'can_init':

drivers/char/can4linux/core.c:339: error: implicit declaration of function 'class_device_create'

drivers/char/can4linux/core.c:467: warning: label 'out_class' defined but not used

drivers/char/can4linux/core.c: In function 'can_exit':

drivers/char/can4linux/core.c:540: error: implicit declaration of function 'class_device_destroy'

make[3]: *** [drivers/char/can4linux/core.o] Error 1

make[2]: *** [drivers/char/can4linux] Error 2

make[1]: *** [drivers/char] Error 2

make: *** [drivers] Error 2

 

Follow-ups

 

--- Mike Frysinger                                           2008-08-09 03:04:28

bryan has fixed with [#4332]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes