diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2011-03-19 19:31:54 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:47:25 -0400 |
commit | 0b89a072f942412c45d00f74e7e789e019e5de2c (patch) | |
tree | dddd389b7e1dc5d1b511b58056d0964d980fa0bf /drivers/gpu/drm/nouveau/nouveau_mem.c | |
parent | f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee (diff) |
drm/nouveau: Fix missing whitespace checkpatch.pl errors.
This patch fixes messages such as
ERROR: space required after that ','
ERROR: spaces required around that '='
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_mem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c index be07a4bc4aae..e177a62967e0 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++ b/drivers/gpu/drm/nouveau/nouveau_mem.c | |||
@@ -600,7 +600,7 @@ nouveau_mem_timing_init(struct drm_device *dev) | |||
600 | /* Get "some number" from the timing reg for NV_40 | 600 | /* Get "some number" from the timing reg for NV_40 |
601 | * Used in calculations later */ | 601 | * Used in calculations later */ |
602 | if (dev_priv->card_type == NV_40) { | 602 | if (dev_priv->card_type == NV_40) { |
603 | magic_number = (nv_rd32(dev,0x100228) & 0x0f000000) >> 24; | 603 | magic_number = (nv_rd32(dev, 0x100228) & 0x0f000000) >> 24; |
604 | } | 604 | } |
605 | 605 | ||
606 | entry = mem + mem[1]; | 606 | entry = mem + mem[1]; |
@@ -668,7 +668,7 @@ nouveau_mem_timing_init(struct drm_device *dev) | |||
668 | tUNK_13 << 8 | tUNK_13); | 668 | tUNK_13 << 8 | tUNK_13); |
669 | 669 | ||
670 | timing->reg_100234 = (tRAS << 24 | tRC); | 670 | timing->reg_100234 = (tRAS << 24 | tRC); |
671 | timing->reg_100234 += max(tUNK_10,tUNK_11) << 16; | 671 | timing->reg_100234 += max(tUNK_10, tUNK_11) << 16; |
672 | 672 | ||
673 | if (dev_priv->chipset < 0xa3) { | 673 | if (dev_priv->chipset < 0xa3) { |
674 | timing->reg_100234 |= (tUNK_2 + 2) << 8; | 674 | timing->reg_100234 |= (tUNK_2 + 2) << 8; |