summaryrefslogtreecommitdiff
path: root/include/acpi/reboot.h
blob: 0419184ce8867664164de63b2a232da985af718f (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __ACPI_REBOOT_H
#define __ACPI_REBOOT_H

#ifdef CONFIG_ACPI
extern void acpi_reboot(void);
#else
static inline void acpi_reboot(void) { }
#endif

#endif

ummary='commit info' class='commit-info'> authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-01-27 15:29:39 -0500 committerDavid S. Miller <davem@davemloft.net>2017-01-29 18:42:46 -0500 commitafdcf151c1f7346207dcee3f8d6d82991dbbb7e5 (patch) tree1afa077b113e04b364c88e90cabade71e3675f80 parent818be8489d6fc8f4cc2c7699bbfd8e1983080f10 (diff)
net: dsa: store a dsa_port in dsa_slave_priv
Store a pointer to the dsa_port structure in the dsa_slave_priv structure, instead of the switch/port index. This will allow to store more information such as the bridge device, needed in DSA drivers for multi-chip configuration. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat