forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/gma500/mdfld_dsi_output.h
....@@ -29,17 +29,17 @@
2929 #define __MDFLD_DSI_OUTPUT_H__
3030
3131 #include <linux/backlight.h>
32
-#include <drm/drmP.h>
32
+
33
+#include <asm/intel-mid.h>
34
+
3335 #include <drm/drm.h>
3436 #include <drm/drm_crtc.h>
3537 #include <drm/drm_edid.h>
3638
39
+#include "mdfld_output.h"
3740 #include "psb_drv.h"
3841 #include "psb_intel_drv.h"
3942 #include "psb_intel_reg.h"
40
-#include "mdfld_output.h"
41
-
42
-#include <asm/intel-mid.h>
4343
4444 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end))
4545 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
....@@ -372,6 +372,6 @@
372372
373373 extern int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config,
374374 u32 *mode, bool hs);
375
-extern int mdfld_dsi_panel_reset(int pipe);
375
+extern int mdfld_dsi_panel_reset(struct drm_device *dev, int pipe);
376376
377377 #endif /*__MDFLD_DSI_OUTPUT_H__*/