vcsm: Fix up macros to avoid breaking numbers used by existing apps
authorpopcornmix <popcornmix@gmail.com>
Fri, 29 Sep 2017 15:15:01 +0000 (16:15 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:09:29 +0000 (01:09 +0000)
drivers/char/broadcom/vc_sm/vc_sm_knl.h

index e50fd8eaecef7a3c8451c040ffc3888cc37e28fc..4f120421c2d11f7ae46752c38b073a4dfdf712c6 100644 (file)
@@ -29,8 +29,8 @@ enum vc_sm_lock_cache_mode {
 
 /* Cache functions */
 #define VCSM_CACHE_OP_INV       0x01
-#define VCSM_CACHE_OP_FLUSH     0x02
-#define VCSM_CACHE_OP_CLEAN     0x03
+#define VCSM_CACHE_OP_CLEAN     0x02
+#define VCSM_CACHE_OP_FLUSH     0x03
 
 /* Allocate a shared memory handle and block. */
 int vc_sm_alloc(struct vc_sm_alloc_t *alloc, int *handle);