Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541050 | Differences between
and this patch

Collapse All | Expand All

(-)src/VBox/Additions/linux/drm/vboxvideo_drm.c.orig (-1 / +6 lines)
Lines 126-132 Link Here
126
        .open = drm_open,
126
        .open = drm_open,
127
        .release = drm_release,
127
        .release = drm_release,
128
        .unlocked_ioctl = drm_ioctl,
128
        .unlocked_ioctl = drm_ioctl,
129
        .mmap = drm_mmap,
129
# if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
130
	 /* This shouldn't be necessary even for old kernels as there is
131
	 * nothing sensible to mmap. But we play safe and keep it for
132
	 * legacy reasons. */
133
	.mmap = drm_mmap,
134
# endif
130
        .poll = drm_poll,
135
        .poll = drm_poll,
131
};
136
};
132
#endif
137
#endif

Return to bug 541050