[PATCH] mbx: Fix up duplicate defines in reg_bits.h

2007-12-20 Thread Kyle McMartin
Otherwise patch gets horribly confused and falls over applying
the diff. Not sure why these were being defined twice.

Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]>
---
Well, we can get it fixed for -git1, I respun the patch-2.6.24-rc6 diff
with git diff -p v2.6.23..HEAD and applied it to a pristine linux-2.6.23
tree without issue.

cheers,
Kyle

 drivers/video/mbx/reg_bits.h |   24 
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/drivers/video/mbx/reg_bits.h b/drivers/video/mbx/reg_bits.h
index 5f14b4b..8dc4283 100644
--- a/drivers/video/mbx/reg_bits.h
+++ b/drivers/video/mbx/reg_bits.h
@@ -540,30 +540,6 @@
 #define DINTRE_HBLNK1_EN   (1 << 1)
 #define DINTRE_HBLNK0_EN   (1 << 0)
 
-/* DINTRS - Display Interrupt Status Register */
-#define DINTRS_CUR_OR_S(1 << 18)
-#define DINTRS_STR2_OR_S   (1 << 17)
-#define DINTRS_STR1_OR_S   (1 << 16)
-#define DINTRS_CUR_UR_S(1 << 6)
-#define DINTRS_STR2_UR_S   (1 << 5)
-#define DINTRS_STR1_UR_S   (1 << 4)
-#define DINTRS_VEVENT1_S   (1 << 3)
-#define DINTRS_VEVENT0_S   (1 << 2)
-#define DINTRS_HBLNK1_S(1 << 1)
-#define DINTRS_HBLNK0_S(1 << 0)
-
-/* DINTRE - Display Interrupt Enable Register */
-#define DINTRE_CUR_OR_EN   (1 << 18)
-#define DINTRE_STR2_OR_EN  (1 << 17)
-#define DINTRE_STR1_OR_EN  (1 << 16)
-#define DINTRE_CUR_UR_EN   (1 << 6)
-#define DINTRE_STR2_UR_EN  (1 << 5)
-#define DINTRE_STR1_UR_EN  (1 << 4)
-#define DINTRE_VEVENT1_EN  (1 << 3)
-#define DINTRE_VEVENT0_EN  (1 << 2)
-#define DINTRE_HBLNK1_EN   (1 << 1)
-#define DINTRE_HBLNK0_EN   (1 << 0)
-
 
 /* DLSTS - display load status register */
 #define DLSTS_RLD_ADONE(1 << 23)
-- 
1.5.3.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] mbx: Fix up duplicate defines in reg_bits.h

2007-12-20 Thread Kyle McMartin
Otherwise patch gets horribly confused and falls over applying
the diff. Not sure why these were being defined twice.

Signed-off-by: Kyle McMartin [EMAIL PROTECTED]
---
Well, we can get it fixed for -git1, I respun the patch-2.6.24-rc6 diff
with git diff -p v2.6.23..HEAD and applied it to a pristine linux-2.6.23
tree without issue.

cheers,
Kyle

 drivers/video/mbx/reg_bits.h |   24 
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/drivers/video/mbx/reg_bits.h b/drivers/video/mbx/reg_bits.h
index 5f14b4b..8dc4283 100644
--- a/drivers/video/mbx/reg_bits.h
+++ b/drivers/video/mbx/reg_bits.h
@@ -540,30 +540,6 @@
 #define DINTRE_HBLNK1_EN   (1  1)
 #define DINTRE_HBLNK0_EN   (1  0)
 
-/* DINTRS - Display Interrupt Status Register */
-#define DINTRS_CUR_OR_S(1  18)
-#define DINTRS_STR2_OR_S   (1  17)
-#define DINTRS_STR1_OR_S   (1  16)
-#define DINTRS_CUR_UR_S(1  6)
-#define DINTRS_STR2_UR_S   (1  5)
-#define DINTRS_STR1_UR_S   (1  4)
-#define DINTRS_VEVENT1_S   (1  3)
-#define DINTRS_VEVENT0_S   (1  2)
-#define DINTRS_HBLNK1_S(1  1)
-#define DINTRS_HBLNK0_S(1  0)
-
-/* DINTRE - Display Interrupt Enable Register */
-#define DINTRE_CUR_OR_EN   (1  18)
-#define DINTRE_STR2_OR_EN  (1  17)
-#define DINTRE_STR1_OR_EN  (1  16)
-#define DINTRE_CUR_UR_EN   (1  6)
-#define DINTRE_STR2_UR_EN  (1  5)
-#define DINTRE_STR1_UR_EN  (1  4)
-#define DINTRE_VEVENT1_EN  (1  3)
-#define DINTRE_VEVENT0_EN  (1  2)
-#define DINTRE_HBLNK1_EN   (1  1)
-#define DINTRE_HBLNK0_EN   (1  0)
-
 
 /* DLSTS - display load status register */
 #define DLSTS_RLD_ADONE(1  23)
-- 
1.5.3.6

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/