1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00

- Adhere style(9) (don't use function calls in initializers).

- Use FBSDID.
This commit is contained in:
Marius Strobl 2005-12-03 18:52:31 +00:00
parent 2c5bc54014
commit a244680c0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153059

View File

@ -29,10 +29,11 @@
* SUCH DAMAGE.
*
* from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13
*
* $FreeBSD$
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_ofw_pci.h"
#include <sys/param.h>
@ -115,8 +116,9 @@ ofw_pcib_probe(device_t dev)
static int
ofw_pcib_attach(device_t dev)
{
struct ofw_pcib_gen_softc *sc = device_get_softc(dev);
struct ofw_pcib_gen_softc *sc;
sc = device_get_softc(dev);
ofw_pcib_gen_setup(dev);
pcib_attach_common(dev);
device_add_child(dev, "pci", sc->ops_pcib_sc.secbus);