• David Herrmann's avatar
    drm: move drm_lastclose() to drm_fops.c · 1c8887dd
    David Herrmann authored
    Try to keep all functions that handle DRM file_operations in drm_fops.c
    so internal helpers can be marked static later.
    
    This makes the split between the 3 core files more obvious:
     - drm_stub.c: DRM device allocation/destruction and management
     - drm_fops.c: DRM file_operations (except for ioctl)
     - drm_drv.c: Global DRM init + ioctl handling
    Well, ioctl handling is still spread throughout hundreds of source files,
    but at least the others are clearly defined this way.
    Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    1c8887dd
drm_fops.c 17 KB