summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cxt1e1
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2014-03-19 02:38:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 09:17:23 -0700
commit7184aa9dbe2676d62affbde78fe379b2aebfffce (patch)
tree5e6c4e9b098d0ea3862ce9458f17d0fe37cb2a42 /drivers/staging/cxt1e1
parent0d89475861f984a89c4998a98e94a3d19e0bbb20 (diff)
downloadop-kernel-dev-7184aa9dbe2676d62affbde78fe379b2aebfffce.zip
op-kernel-dev-7184aa9dbe2676d62affbde78fe379b2aebfffce.tar.gz
Staging: cxt1e1: Fix use of volatile is usually wrong in comet.c
Fix checkpatch.pl issues with use of volatile is usually wrong in comet.c Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r--drivers/staging/cxt1e1/comet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c
index c27ac09..c092da5 100644
--- a/drivers/staging/cxt1e1/comet.c
+++ b/drivers/staging/cxt1e1/comet.c
@@ -456,7 +456,7 @@ static void
WrtRcvEqualizerTbl(ci_t *ci, struct s_comet_reg *comet, u_int32_t *table)
{
u_int32_t ramaddr;
- volatile u_int32_t value;
+ u_int32_t value;
for (ramaddr = 0; ramaddr < 256; ramaddr++) {
/*** the following lines are per Errata 7, 2.5 ***/
@@ -524,7 +524,7 @@ WrtRcvEqualizerTbl(ci_t *ci, struct s_comet_reg *comet, u_int32_t *table)
static void
SetPwrLevel(struct s_comet_reg *comet)
{
- volatile u_int32_t temp;
+ u_int32_t temp;
/*
** Algorithm to Balance the Power Distribution of Ttip Tring
@@ -566,7 +566,7 @@ SetPwrLevel(struct s_comet_reg *comet)
static void
SetCometOps(struct s_comet_reg *comet)
{
- volatile u_int8_t rd_value;
+ u_int8_t rd_value;
if (comet == mConfig.C4Func1Base + (COMET0_OFFSET >> 2)) {
/* read the BRIF Configuration */
OpenPOWER on IntegriCloud