/* * acpi_lpat.h - LPAT table processing functions * * Copyright (C) 2015 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef ACPI_LPAT_H #define ACPI_LPAT_H struct acpi_lpat { int temp; int raw; }; struct acpi_lpat_conversion_table { struct acpi_lpat *lpat; int lpat_count; }; #ifdef CONFIG_ACPI int acpi_lpat_raw_to_temp(struct acpi_lpat_conversion_table *lpat_table, int raw); int acpi_lpat_temp_to_raw(struct acpi_lpat_conversion_table *lpat_table, int temp); struct acpi_lpat_conversion_table *acpi_lpat_get_conversion_table(acpi_handle handle); void acpi_lpat_free_conversion_table(struct acpi_lpat_conversion_table *lpat_table); #else static int acpi_lpat_raw_to_temp(struct acpi_lpat_conversion_table *lpat_table, int raw) { return 0; } static int acpi_lpat_temp_to_raw(struct acpi_lpat_conversion_table *lpat_table, int temp) { return 0; } static struct acpi_lpat_conversion_table *acpi_lpat_get_conversion_table( acpi_handle handle) { return NULL; } static void acpi_lpat_free_conversion_table(struct acpi_lpat_conversion_table *lpat_table) { } #endif #endif /linux/net-next.git/?h=nds-private-remove'>summaryrefslogtreecommitdiff
path: root/include/net/nl802154.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
commit3efa70d78f218e4c9276b0bac0545e5184c1c47b (patch)
treef4abe2f05e173023d2a262afd4aebb1e89fe6985 /include/net/nl802154.h
parent76e0e70e6452b971a69cc9794ff4a6715c11f7f2 (diff)
parent926af6273fc683cd98cd0ce7bf0d04a02eed6742 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The conflict was an interaction between a bug fix in the netvsc driver in 'net' and an optimization of the RX path in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/nl802154.h')