From: popcornmix Date: Fri, 29 Sep 2017 15:15:01 +0000 (+0100) Subject: vcsm: Fix up macros to avoid breaking numbers used by existing apps X-Git-Tag: archive/raspbian/4.9.51-1+rpi1~5^2~68 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f08d3af55a801bad2e17bb7b312a3a39025668fc;p=linux-4.9.git vcsm: Fix up macros to avoid breaking numbers used by existing apps --- diff --git a/drivers/char/broadcom/vc_sm/vc_sm_knl.h b/drivers/char/broadcom/vc_sm/vc_sm_knl.h index e50fd8eaecef..4f120421c2d1 100644 --- a/drivers/char/broadcom/vc_sm/vc_sm_knl.h +++ b/drivers/char/broadcom/vc_sm/vc_sm_knl.h @@ -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);