]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commitdiff
acpi, property: Fix EXPORT_SYMBOL_GPL() for acpi_dev_prop_read_single()
authorRobert Richter <rrichter@cavium.com>
Thu, 25 Jun 2015 14:59:41 +0000 (16:59 +0200)
committerJulien Grall <julien.grall@citrix.com>
Mon, 28 Sep 2015 11:05:22 +0000 (12:05 +0100)
Fixing the following build error when building drivers as modules:

 ERROR: "acpi_dev_prop_read_single" [drivers/net/phy/mdio-octeon.ko] undefined!
 ERROR: "acpi_dev_prop_read_single" [drivers/net/ethernet/cavium/thunder/thunder_bgx.ko] undefined!

Reported-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com>
drivers/acpi/property.c

index 635785d6bc5ee7aea6c05788729e9836635a57b8..237e3c503436981aaecaee071d04c20b4c1d9485 100644 (file)
@@ -432,7 +432,7 @@ int acpi_dev_prop_read_single(struct acpi_device *adev, const char *propname,
        }
        return ret;
 }
-EXPORT_SYMBOL_GPL(acpi_dev_prop_read);
+EXPORT_SYMBOL_GPL(acpi_dev_prop_read_single);
 
 static int acpi_copy_property_array_u8(const union acpi_object *items, u8 *val,
                                       size_t nval)