Re: [PATCH] drm/i915/bios: Fix ports mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > init_vbt_missing_defaults(struct drm_i915_private *i915)
> > {
> > 	enum port port;
> > -	int ports = PORT_A | PORT_B | PORT_C | PORT_D | PORT_E | PORT_F;
> > +	int ports = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | \
> > +		    BIT(PORT_D) | BIT(PORT_E) | BIT(PORT_F);

No need for the \, this isn't a macro.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux