From owner-svn-src-stable@FreeBSD.ORG Fri Aug 9 21:01:43 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 40824CCF; Fri, 9 Aug 2013 21:01:43 +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 12AC32281; Fri, 9 Aug 2013 21:01:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r79L1g2x024203; Fri, 9 Aug 2013 21:01:42 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r79L1g9d024199; Fri, 9 Aug 2013 21:01:42 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201308092101.r79L1g9d024199@svn.freebsd.org> From: Marius Strobl Date: Fri, 9 Aug 2013 21:01:42 +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: r254161 - 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:01:43 -0000 Author: marius Date: Fri Aug 9 21:01:41 2013 New Revision: 254161 URL: http://svnweb.freebsd.org/changeset/base/254161 Log: MFC: r253900 - Use NULL instead of 0 for pointers. - Remove unnecessary __RMAN_RESOURCE_VISIBLE. Modified: stable/9/sys/dev/scc/scc_bfe_ebus.c stable/9/sys/dev/scc/scc_bfe_macio.c stable/9/sys/dev/scc/scc_bfe_quicc.c stable/9/sys/dev/scc/scc_bfe_sbus.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/scc/scc_bfe_ebus.c ============================================================================== --- stable/9/sys/dev/scc/scc_bfe_ebus.c Fri Aug 9 20:58:06 2013 (r254160) +++ stable/9/sys/dev/scc/scc_bfe_ebus.c Fri Aug 9 21:01:41 2013 (r254161) @@ -94,4 +94,4 @@ static driver_t scc_ebus_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, ebus, scc_ebus_driver, scc_devclass, 0, 0); +DRIVER_MODULE(scc, ebus, scc_ebus_driver, scc_devclass, NULL, NULL); Modified: stable/9/sys/dev/scc/scc_bfe_macio.c ============================================================================== --- stable/9/sys/dev/scc/scc_bfe_macio.c Fri Aug 9 20:58:06 2013 (r254160) +++ stable/9/sys/dev/scc/scc_bfe_macio.c Fri Aug 9 21:01:41 2013 (r254161) @@ -90,4 +90,4 @@ static driver_t scc_macio_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, 0, 0); +DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, NULL, NULL); Modified: stable/9/sys/dev/scc/scc_bfe_quicc.c ============================================================================== --- stable/9/sys/dev/scc/scc_bfe_quicc.c Fri Aug 9 20:58:06 2013 (r254160) +++ stable/9/sys/dev/scc/scc_bfe_quicc.c Fri Aug 9 21:01:41 2013 (r254161) @@ -27,8 +27,6 @@ #include __FBSDID("$FreeBSD$"); -#define __RMAN_RESOURCE_VISIBLE - #include #include #include @@ -98,4 +96,4 @@ static driver_t scc_quicc_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, 0, 0); +DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, NULL, NULL); Modified: stable/9/sys/dev/scc/scc_bfe_sbus.c ============================================================================== --- stable/9/sys/dev/scc/scc_bfe_sbus.c Fri Aug 9 20:58:06 2013 (r254160) +++ stable/9/sys/dev/scc/scc_bfe_sbus.c Fri Aug 9 21:01:41 2013 (r254161) @@ -90,5 +90,5 @@ static driver_t scc_sbus_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, fhc, scc_sbus_driver, scc_devclass, 0, 0); -DRIVER_MODULE(scc, sbus, scc_sbus_driver, scc_devclass, 0, 0); +DRIVER_MODULE(scc, fhc, scc_sbus_driver, scc_devclass, NULL, NULL); +DRIVER_MODULE(scc, sbus, scc_sbus_driver, scc_devclass, NULL, NULL);