Module Name: src Committed By: riastradh Date: Sun Sep 8 16:06:35 UTC 2013
Modified Files: src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: dvo_ch7xxx.c Log Message: Remove #ifdef __NetBSD__ from const fixes in dvo_ch7xxx.c. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \ src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c diff -u src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c:1.1.1.1.2.3 src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c:1.1.1.1.2.4 --- src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c:1.1.1.1.2.3 Wed Jul 24 03:02:35 2013 +++ src/sys/external/bsd/drm2/dist/drm/i915/dvo_ch7xxx.c Sun Sep 8 16:06:35 2013 @@ -84,11 +84,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN 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 @@ struct ch7xxx_priv { 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 @@ static bool ch7xxx_init(struct intel_dvo /* 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)