Date: Fri, 2 Aug 2013 23:31:51 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253902 - head/sys/dev/scc Message-ID: <201308022331.r72NVpAr047187@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Fri Aug 2 23:31:51 2013 New Revision: 253902 URL: http://svnweb.freebsd.org/changeset/base/253902 Log: Const'ify scc_driver_name. Modified: head/sys/dev/scc/scc_bfe.h head/sys/dev/scc/scc_core.c Modified: head/sys/dev/scc/scc_bfe.h ============================================================================== --- head/sys/dev/scc/scc_bfe.h Fri Aug 2 23:31:28 2013 (r253901) +++ head/sys/dev/scc/scc_bfe.h Fri Aug 2 23:31:51 2013 (r253902) @@ -136,7 +136,7 @@ struct scc_softc { }; extern devclass_t scc_devclass; -extern char scc_driver_name[]; +extern const char scc_driver_name[]; int scc_bfe_attach(device_t dev, u_int ipc); int scc_bfe_detach(device_t dev); Modified: head/sys/dev/scc/scc_core.c ============================================================================== --- head/sys/dev/scc/scc_core.c Fri Aug 2 23:31:28 2013 (r253901) +++ head/sys/dev/scc/scc_core.c Fri Aug 2 23:31:51 2013 (r253902) @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); #include "scc_if.h" devclass_t scc_devclass; -char scc_driver_name[] = "scc"; +const char scc_driver_name[] = "scc"; static MALLOC_DEFINE(M_SCC, "SCC", "SCC driver");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308022331.r72NVpAr047187>