Commit d8ed1688 authored by Daniel Vetter's avatar Daniel Vetter Committed by Dave Airlie

drm/radeon: kill firstopen callback for kms driver

Again, it does nothing.
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 161695bf
...@@ -81,7 +81,6 @@ ...@@ -81,7 +81,6 @@
#define KMS_DRIVER_PATCHLEVEL 0 #define KMS_DRIVER_PATCHLEVEL 0
int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
int radeon_driver_unload_kms(struct drm_device *dev); int radeon_driver_unload_kms(struct drm_device *dev);
int radeon_driver_firstopen_kms(struct drm_device *dev);
void radeon_driver_lastclose_kms(struct drm_device *dev); void radeon_driver_lastclose_kms(struct drm_device *dev);
int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv);
void radeon_driver_postclose_kms(struct drm_device *dev, void radeon_driver_postclose_kms(struct drm_device *dev,
...@@ -390,7 +389,6 @@ static struct drm_driver kms_driver = { ...@@ -390,7 +389,6 @@ static struct drm_driver kms_driver = {
DRIVER_PRIME, DRIVER_PRIME,
.dev_priv_size = 0, .dev_priv_size = 0,
.load = radeon_driver_load_kms, .load = radeon_driver_load_kms,
.firstopen = radeon_driver_firstopen_kms,
.open = radeon_driver_open_kms, .open = radeon_driver_open_kms,
.preclose = radeon_driver_preclose_kms, .preclose = radeon_driver_preclose_kms,
.postclose = radeon_driver_postclose_kms, .postclose = radeon_driver_postclose_kms,
......
...@@ -448,19 +448,6 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) ...@@ -448,19 +448,6 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
/* /*
* Outdated mess for old drm with Xorg being in charge (void function now). * Outdated mess for old drm with Xorg being in charge (void function now).
*/ */
/**
* radeon_driver_firstopen_kms - drm callback for first open
*
* @dev: drm dev pointer
*
* Nothing to be done for KMS (all asics).
* Returns 0 on success.
*/
int radeon_driver_firstopen_kms(struct drm_device *dev)
{
return 0;
}
/** /**
* radeon_driver_firstopen_kms - drm callback for last close * radeon_driver_firstopen_kms - drm callback for last close
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment