Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / drivers / gpu / drm / radeon / radeon_fb.c
index 5906914a78bc3ad38407b19453b8f3b321acbd98..cc8489d8c6d1263c7e5049ea1fcd0ae2dcf5a95a 100644 (file)
 #include <linux/slab.h>
 #include <linux/fb.h>
 
-#include "drmP.h"
-#include "drm.h"
-#include "drm_crtc.h"
-#include "drm_crtc_helper.h"
-#include "radeon_drm.h"
+#include <drm/drmP.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/radeon_drm.h>
 #include "radeon.h"
 
-#include "drm_fb_helper.h"
+#include <drm/drm_fb_helper.h>
 
 #include <linux/vga_switcheroo.h>
 
@@ -316,22 +315,6 @@ static int radeon_fb_find_or_create_single(struct drm_fb_helper *helper,
        return new_fb;
 }
 
-static char *mode_option;
-int radeon_parse_options(char *options)
-{
-       char *this_opt;
-
-       if (!options || !*options)
-               return 0;
-
-       while ((this_opt = strsep(&options, ",")) != NULL) {
-               if (!*this_opt)
-                       continue;
-               mode_option = this_opt;
-       }
-       return 0;
-}
-
 void radeon_fb_output_poll_changed(struct radeon_device *rdev)
 {
        drm_fb_helper_hotplug_event(&rdev->mode_info.rfbdev->helper);