From: Stephen Rothwell Date: Tue, 29 Nov 2011 01:44:35 +0000 (+1100) Subject: Merge remote-tracking branch 'drm/drm-next' X-Git-Tag: next-20111129~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b485d45e1515d100948fcc582fd5b72fb0128bf;p=karo-tx-linux.git Merge remote-tracking branch 'drm/drm-next' --- 8b485d45e1515d100948fcc582fd5b72fb0128bf diff --cc drivers/gpu/drm/i915/i915_drv.c index 15bfa9145d2b,9f592703c369..14ee75d4bb8f --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@@ -788,9 -788,24 +788,24 @@@ static struct vm_operations_struct i915 .close = drm_gem_vm_close, }; + static const struct file_operations i915_driver_fops = { + .owner = THIS_MODULE, + .open = drm_open, + .release = drm_release, + .unlocked_ioctl = drm_ioctl, + .mmap = drm_gem_mmap, + .poll = drm_poll, + .fasync = drm_fasync, + .read = drm_read, + #ifdef CONFIG_COMPAT + .compat_ioctl = i915_compat_ioctl, + #endif + .llseek = noop_llseek, + }; + static struct drm_driver driver = { - /* don't use mtrr's here, the Xserver or user space app should - * deal with them for intel hardware. + /* Don't use MTRRs here; the Xserver or userspace app should + * deal with them for Intel hardware. */ .driver_features = DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR |*/