public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] gma500: remove duplicate FB_REG09 define
@ 2014-06-09 15:20 Dan Carpenter
  2014-06-09 15:41 ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2014-06-09 15:20 UTC (permalink / raw)
  To: David Airlie; +Cc: trivial, kernel-janitors, dri-devel

The FB_REG09 define is cut and pasted twice so we can remove the second
instance.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/gpu/drm/gma500/mid_bios.c b/drivers/gpu/drm/gma500/mid_bios.c
index a97e38e..d75ecb3 100644
--- a/drivers/gpu/drm/gma500/mid_bios.c
+++ b/drivers/gpu/drm/gma500/mid_bios.c
@@ -39,7 +39,6 @@ static void mid_get_fuse_settings(struct drm_device *dev)
 #define FB_REG06 0xD0810600
 #define FB_MIPI_DISABLE  (1 << 11)
 #define FB_REG09 0xD0810900
-#define FB_REG09 0xD0810900
 #define FB_SKU_MASK  0x7000
 #define FB_SKU_SHIFT 12
 #define FB_SKU_100 0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-10 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 15:20 [patch] gma500: remove duplicate FB_REG09 define Dan Carpenter
2014-06-09 15:41 ` Jani Nikula
2014-06-10 21:18   ` Patrik Jakobsson
2014-06-10 21:42     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox