linux/drivers/platform/x86/dell/dell-wmi-descriptor.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Dell WMI descriptor driver
 *
 * Copyright (C) 2017 Dell Inc. All Rights Reserved.
 */

#define pr_fmt(fmt)

#include <linux/acpi.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/wmi.h>
#include "dell-wmi-descriptor.h"

#define DELL_WMI_DESCRIPTOR_GUID

struct descriptor_priv {};
static int descriptor_valid =;
static LIST_HEAD(wmi_list);
static DEFINE_MUTEX(list_mutex);

int dell_wmi_get_descriptor_valid(void)
{}
EXPORT_SYMBOL_GPL();

bool dell_wmi_get_interface_version(u32 *version)
{}
EXPORT_SYMBOL_GPL();

bool dell_wmi_get_size(u32 *size)
{}
EXPORT_SYMBOL_GPL();

bool dell_wmi_get_hotfix(u32 *hotfix)
{}
EXPORT_SYMBOL_GPL();

/*
 * Descriptor buffer is 128 byte long and contains:
 *
 *       Name             Offset  Length  Value
 * Vendor Signature          0       4    "DELL"
 * Object Signature          4       4    " WMI"
 * WMI Interface Version     8       4    <version>
 * WMI buffer length        12       4    <length>
 * WMI hotfix number        16       4    <hotfix>
 */
static int dell_wmi_descriptor_probe(struct wmi_device *wdev,
				     const void *context)
{}

static void dell_wmi_descriptor_remove(struct wmi_device *wdev)
{}

static const struct wmi_device_id dell_wmi_descriptor_id_table[] =;

static struct wmi_driver dell_wmi_descriptor_driver =;

module_wmi_driver();

MODULE_DEVICE_TABLE(wmi, dell_wmi_descriptor_id_table);
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();