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.82-1+deb9u3+rpi1_jessie~5^2~90 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bb2441c325157608dcb9da216fd5e67956b99a0a;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);