From: kettenis Date: Thu, 11 Jul 2024 12:39:53 +0000 (+0000) Subject: Turn FBINFO_xxx defines into proper flags. Gets rid of an unwanted X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dc88ef371e6a57eb6809df5ae473aa6d5f2bdd35;p=openbsd Turn FBINFO_xxx defines into proper flags. Gets rid of an unwanted warning introduced by a recent commit to drm_fbdev_dma.c. ok jsg@ --- diff --git a/sys/dev/pci/drm/include/linux/fb.h b/sys/dev/pci/drm/include/linux/fb.h index fa1035d8b15..ed622af7273 100644 --- a/sys/dev/pci/drm/include/linux/fb.h +++ b/sys/dev/pci/drm/include/linux/fb.h @@ -60,11 +60,9 @@ struct fb_info { #define FBINFO_STATE_RUNNING 0 #define FBINFO_STATE_SUSPENDED 1 -#define FBINFO_DEFAULT 0 -#define FBINFO_VIRTFB 1 -#define FBINFO_READS_FAST 2 - -#define FBINFO_HIDE_SMEM_START 0 +#define FBINFO_VIRTFB 0x0001 +#define FBINFO_READS_FAST 0x0002 +#define FBINFO_HIDE_SMEM_START 0x0004 #define FB_ROTATE_UR 0 #define FB_ROTATE_CW 1