Commit 9e28e0ce authored by Sam Ravnborg's avatar Sam Ravnborg

drm/r128: drop use of drmP.h

Replace use of the deprecated drmP.h header file
with relevant includes.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-8-sam@ravnborg.org
parent fd6d6d80
...@@ -29,10 +29,11 @@ ...@@ -29,10 +29,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include <linux/compat.h> #include <linux/compat.h>
#include <drm/drmP.h>
#include <drm/r128_drm.h> #include <drm/r128_drm.h>
#include "r128_drv.h" #include "r128_drv.h"
typedef struct drm_r128_init32 { typedef struct drm_r128_init32 {
......
...@@ -30,8 +30,11 @@ ...@@ -30,8 +30,11 @@
* Eric Anholt <anholt@FreeBSD.org> * Eric Anholt <anholt@FreeBSD.org>
*/ */
#include <drm/drmP.h> #include <drm/drm_device.h>
#include <drm/drm_print.h>
#include <drm/drm_vblank.h>
#include <drm/r128_drm.h> #include <drm/r128_drm.h>
#include "r128_drv.h" #include "r128_drv.h"
u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe) u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe)
......
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