From owner-svn-src-stable@FreeBSD.ORG Fri Aug 9 21:04:00 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E45BFEBD; Fri, 9 Aug 2013 21:04:00 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D0D4E22C5; Fri, 9 Aug 2013 21:04:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r79L40Gs024665; Fri, 9 Aug 2013 21:04:00 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r79L40G5024662; Fri, 9 Aug 2013 21:04:00 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201308092104.r79L40G5024662@svn.freebsd.org> From: Marius Strobl Date: Fri, 9 Aug 2013 21:04:00 +0000 (UTC) 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 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 21:04:01 -0000 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");