Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c5def93 authored by Ander Conselvan de Oliveira's avatar Ander Conselvan de Oliveira
Browse files

drm/i915: Remove intel_range_t and intel_p2_t typedefs

parent 9e2c8475
Loading
Loading
Loading
Loading
+8 −11
Original line number Diff line number Diff line
@@ -118,19 +118,16 @@ static void ironlake_pfit_enable(struct intel_crtc *crtc);
static void intel_modeset_setup_hw_state(struct drm_device *dev);
static void intel_pre_disable_primary_noatomic(struct drm_crtc *crtc);

typedef struct {
typedef struct intel_limit intel_limit_t;
struct intel_limit {
	struct {
		int min, max;
} intel_range_t;
	} dot, vco, n, m, m1, m2, p, p1;

typedef struct {
	struct {
		int dot_limit;
		int p2_slow, p2_fast;
} intel_p2_t;

typedef struct intel_limit intel_limit_t;
struct intel_limit {
	intel_range_t   dot, vco, n, m, m1, m2, p, p1;
	intel_p2_t	    p2;
	} p2;
};

/* returns HPLL frequency in kHz */