svn commit: r209828 - stable/8/sys/dev/sound/pcm
Andriy Gapon
avg at FreeBSD.org
Thu Jul 8 20:46:56 UTC 2010
Author: avg
Date: Thu Jul 8 20:46:55 2010
New Revision: 209828
URL: http://svn.freebsd.org/changeset/base/209828
Log:
MFC r209193: sound/pcm: use non-const string with SYSCTL_STRING
Modified:
stable/8/sys/dev/sound/pcm/feeder_eq.c
stable/8/sys/dev/sound/pcm/feeder_rate.c
stable/8/sys/dev/sound/pcm/sound.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/sound/pcm/feeder_eq.c
==============================================================================
--- stable/8/sys/dev/sound/pcm/feeder_eq.c Thu Jul 8 20:43:20 2010 (r209827)
+++ stable/8/sys/dev/sound/pcm/feeder_eq.c Thu Jul 8 20:46:55 2010 (r209828)
@@ -93,7 +93,7 @@ SND_DECLARE_FILE("$FreeBSD$");
static int feeder_eq_exact_rate = 0;
#ifdef _KERNEL
-static const char feeder_eq_presets[] = FEEDER_EQ_PRESETS;
+static char feeder_eq_presets[] = FEEDER_EQ_PRESETS;
SYSCTL_STRING(_hw_snd, OID_AUTO, feeder_eq_presets, CTLFLAG_RD,
&feeder_eq_presets, 0, "compile-time eq presets");
Modified: stable/8/sys/dev/sound/pcm/feeder_rate.c
==============================================================================
--- stable/8/sys/dev/sound/pcm/feeder_rate.c Thu Jul 8 20:43:20 2010 (r209827)
+++ stable/8/sys/dev/sound/pcm/feeder_rate.c Thu Jul 8 20:46:55 2010 (r209828)
@@ -159,7 +159,7 @@ int feeder_rate_quality = Z_QUALITY_DEFA
static int feeder_rate_polyphase_max = Z_POLYPHASE_MAX;
#ifdef _KERNEL
-static const char feeder_rate_presets[] = FEEDER_RATE_PRESETS;
+static char feeder_rate_presets[] = FEEDER_RATE_PRESETS;
SYSCTL_STRING(_hw_snd, OID_AUTO, feeder_rate_presets, CTLFLAG_RD,
&feeder_rate_presets, 0, "compile-time rate presets");
Modified: stable/8/sys/dev/sound/pcm/sound.c
==============================================================================
--- stable/8/sys/dev/sound/pcm/sound.c Thu Jul 8 20:43:20 2010 (r209827)
+++ stable/8/sys/dev/sound/pcm/sound.c Thu Jul 8 20:46:55 2010 (r209828)
@@ -68,7 +68,7 @@ SYSCTL_NODE(_hw, OID_AUTO, snd, CTLFLAG_
* XXX I've had enough with people not telling proper version/arch
* while reporting problems, not after 387397913213th questions/requests.
*/
-static const char snd_driver_version[] =
+static char snd_driver_version[] =
__XSTRING(SND_DRV_VERSION)"/"MACHINE_ARCH;
SYSCTL_STRING(_hw_snd, OID_AUTO, version, CTLFLAG_RD, &snd_driver_version,
0, "driver version/arch");
More information about the svn-src-all
mailing list