diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-05 18:40:42 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-05 19:42:02 +0200 |
commit | 41c8bdb3ab10c1fefcac61d081e2fd9aaf8694b8 (patch) | |
tree | 22b854bdd440784505e6a3fc8f0c13ec6a7d9b5e /drivers/acpi/nfit/nfit.h | |
parent | MAINTAINERS: add uuid entry (diff) | |
download | linux-41c8bdb3ab10c1fefcac61d081e2fd9aaf8694b8.tar.xz linux-41c8bdb3ab10c1fefcac61d081e2fd9aaf8694b8.zip |
acpi, nfit: Switch to use new generic UUID API
There are new types and helpers that are supposed to be used in new code.
As a preparation to get rid of legacy types and API functions do
the conversion here.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/acpi/nfit/nfit.h')
-rw-r--r-- | drivers/acpi/nfit/nfit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/nfit/nfit.h b/drivers/acpi/nfit/nfit.h index 58fb7d68e04a..29bdd959517f 100644 --- a/drivers/acpi/nfit/nfit.h +++ b/drivers/acpi/nfit/nfit.h @@ -18,7 +18,6 @@ #include <linux/libnvdimm.h> #include <linux/ndctl.h> #include <linux/types.h> -#include <linux/uuid.h> #include <linux/acpi.h> #include <acpi/acuuid.h> @@ -237,7 +236,7 @@ static inline struct acpi_nfit_desc *to_acpi_desc( return container_of(nd_desc, struct acpi_nfit_desc, nd_desc); } -const u8 *to_nfit_uuid(enum nfit_uuids id); +const guid_t *to_nfit_uuid(enum nfit_uuids id); int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz); void acpi_nfit_shutdown(void *data); void __acpi_nfit_notify(struct device *dev, acpi_handle handle, u32 event); |