]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (fam15h_power) Fix pci_device_id array
authorGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 25 Apr 2012 20:44:20 +0000 (13:44 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:36 +0000 (13:14 +0100)
commita3d96e2fff39b1b16f4440cfa6796d12e9d20dcf
tree478a692190ffea6cc9bfb8cf233f35c440d9e892
parent8198e9bfd86f983380946965d825972fe432cc0c
hwmon: (fam15h_power) Fix pci_device_id array

commit c3e40a9972428d6e2d8e287ed0233a57a218c30f upstream.

pci_match_id() takes an *array* of IDs which must be properly zero-
terminated.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/hwmon/fam15h_power.c