Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 28318
Collapse All | Expand All

(-)../fgl.orig/build_mod/firegl_public.c (-2 / +6 lines)
Lines 419-425 static int firegl_proc_cleanup( int mino Link Here
419
419
420
static int firegl_stub_open(struct inode *inode, struct file *filp)
420
static int firegl_stub_open(struct inode *inode, struct file *filp)
421
{
421
{
422
#if LINUX_VERSION_CODE > 0x020500
422
#if LINUX_VERSION_CODE >= 0x020600
423
	int                    minor = iminor(inode);
424
#elif LINUX_VERSION_CODE > 0x020500
423
	int                    minor = minor(inode->i_rdev);
425
	int                    minor = minor(inode->i_rdev);
424
#else
426
#else
425
	int                    minor = MINOR(inode->i_rdev);
427
	int                    minor = MINOR(inode->i_rdev);
Lines 845-851 const char* __ke_module_parm(void) Link Here
845
847
846
int __ke_inode_rdev_minor(struct inode* inode)
848
int __ke_inode_rdev_minor(struct inode* inode)
847
{
849
{
848
#if LINUX_VERSION_CODE > 0x020500
850
#if LINUX_VERSION_CODE >= 0x020600
851
    return iminor(inode);
852
#elif LINUX_VERSION_CODE > 0x020500
849
    return minor(inode->i_rdev);
853
    return minor(inode->i_rdev);
850
#else
854
#else
851
    return MINOR(inode->i_rdev);
855
    return MINOR(inode->i_rdev);

Return to bug 28318