Date: Fri, 9 Aug 2013 21:04:00 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r254162 - stable/9/sys/dev/scc Message-ID: <201308092104.r79L40G5024662@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Fri Aug 9 21:04:00 2013 New Revision: 254162 URL: http://svnweb.freebsd.org/changeset/base/254162 Log: MFC: r253902 Const'ify scc_driver_name. Modified: stable/9/sys/dev/scc/scc_bfe.h stable/9/sys/dev/scc/scc_core.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/scc/scc_bfe.h ============================================================================== --- stable/9/sys/dev/scc/scc_bfe.h Fri Aug 9 21:01:41 2013 (r254161) +++ stable/9/sys/dev/scc/scc_bfe.h Fri Aug 9 21:04:00 2013 (r254162) @@ -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: stable/9/sys/dev/scc/scc_core.c ============================================================================== --- stable/9/sys/dev/scc/scc_core.c Fri Aug 9 21:01:41 2013 (r254161) +++ stable/9/sys/dev/scc/scc_core.c Fri Aug 9 21:04:00 2013 (r254162) @@ -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?201308092104.r79L40G5024662>