Need to specify mmap_object operation here!

Not sure how I tested this before, or whether I just made this change
locally and forgot to commit it and then lost the change.
This commit is contained in:
riastradh 2016-04-02 22:37:03 +00:00
parent f39108e148
commit 0e8d9cccbe
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ static struct drm_driver driver = {
.ioctls = via_ioctls,
#ifndef __NetBSD__
.fops = &via_driver_fops,
#else
.mmap_object = drm_mmap_object,
#endif
.name = DRIVER_NAME,
.desc = DRIVER_DESC,