X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fdarwin.c;h=8ae90082c8af017a88974aa6a88a157c49b641cc;hb=e5d1d2dbb64cafd33f9b012b7959b61319dcd250;hp=e34c423712a7472cfa637bdb63ef6bbf9efc1a1e;hpb=a54d4bd199cddd82647b912b1038c25ded5e3510;p=pciutils.git diff --git a/lib/darwin.c b/lib/darwin.c index e34c423..8ae9008 100644 --- a/lib/darwin.c +++ b/lib/darwin.c @@ -3,7 +3,9 @@ * * Copyright (c) 2013 Apple, Inc. * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include @@ -194,9 +196,9 @@ darwin_write(struct pci_dev *d, int pos, byte *buf, int len) return 1; } -struct pci_methods pm_darwin_device = { - "darwin-device", - "Darwin device", +struct pci_methods pm_darwin = { + "darwin", + "Darwin", darwin_config, darwin_detect, darwin_init,