Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Remove #ifdef _...
details: https://anonhg.NetBSD.org/src/rev/c4693a8f8daa
branches: riastradh-drm2
changeset: 788546:c4693a8f8daa
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Sep 08 16:06:35 2013 +0000
description:
Remove #ifdef __NetBSD__ from const fixes in dvo_ch7xxx.c.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diffs (39 lines):
diff -r 0a036d30f470 -r c4693a8f8daa sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c
--- a/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c Sun Sep 08 16:05:06 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c Sun Sep 08 16:06:35 2013 +0000
@@ -84,11 +84,7 @@
static struct ch7xxx_id_struct {
uint8_t vid;
-#ifdef __NetBSD__
const char *name;
-#else
- char *name;
-#endif
} ch7xxx_ids[] = {
{ CH7011_VID, "CH7011" },
{ CH7009A_VID, "CH7009A" },
@@ -100,11 +96,7 @@
bool quiet;
};
-#ifdef __NetBSD__
static const char *ch7xxx_get_id(uint8_t vid)
-#else
-static char *ch7xxx_get_id(uint8_t vid)
-#endif
{
int i;
@@ -187,11 +179,7 @@
/* this will detect the CH7xxx chip on the specified i2c bus */
struct ch7xxx_priv *ch7xxx;
uint8_t vendor, device;
-#ifdef __NetBSD__
const char *name;
-#else
- char *name;
-#endif
ch7xxx = kzalloc(sizeof(struct ch7xxx_priv), GFP_KERNEL);
if (ch7xxx == NULL)
Home |
Main Index |
Thread Index |
Old Index