Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 161385 Details for
Bug 232117
media-libs/svgalib-1.9.25 + sys-kernel/gentoo-sources-2.6.26 - error: implicit declaration of function ‘class_device_create’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
change to kernel26compat.h
svgalib-1.9.25-linux2.6.26.patch (text/plain), 1.68 KB, created by
Brett Mravec
on 2008-07-26 05:08:59 UTC
(
hide
)
Description:
change to kernel26compat.h
Filename:
MIME Type:
Creator:
Brett Mravec
Created:
2008-07-26 05:08:59 UTC
Size:
1.68 KB
patch
obsolete
>--- svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h >+++ svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h >@@ -105,7 +109,8 @@ > class_device_create(svgalib_helper_class, \ > MKDEV(SVGALIB_HELPER_MAJOR, _minor), \ > &sh_pci_devs[_minor]->dev->dev, _name); >-#else /* 2.6.15 changed class_device_create */ >+/* 2.6.15 changed class_device_create */ >+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) > # define SLH_SYSFS_ADD_CONTROL \ > class_device_create(svgalib_helper_class, NULL, \ > MKDEV(SVGALIB_HELPER_MAJOR, 0), \ >@@ -115,7 +120,18 @@ > class_device_create(svgalib_helper_class, NULL, \ > MKDEV(SVGALIB_HELPER_MAJOR, _minor), \ > &sh_pci_devs[_minor]->dev->dev, _name); >-#endif /* 2.6.15 */ >+/* 2.6.26 changed class_device_create to device_create */ >+#else >+# define SLH_SYSFS_ADD_CONTROL \ >+ device_create(svgalib_helper_class, NULL, \ >+ MKDEV(SVGALIB_HELPER_MAJOR, 0), \ >+ NULL, "svga"); >+ >+# define SLH_SYSFS_ADD_DEVICE(_name, _minor) \ >+ device_create(svgalib_helper_class, NULL, \ >+ MKDEV(SVGALIB_HELPER_MAJOR, _minor), \ >+ &sh_pci_devs[_minor]->dev->dev, _name); >+#endif > > # define SLH_SYSFS_REMOVE_DEVICE(i) \ > class_destroy(svgalib_helper_class);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232117
:
160864
|
161385
|
161475
|
162378