brintos

brintos / linux-shallow public Read only

0
0
Text · 803 B · 70e879b Raw
41 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ */2/*3 * Compaq Hot Plug Controller Driver4 *5 * Copyright (C) 1995,2001 Compaq Computer Corporation6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)7 *8 * All rights reserved.9 *10 * Send feedback to <greg@kroah.com>11 *12 */13 14#ifndef _CPQPHP_NVRAM_H15#define _CPQPHP_NVRAM_H16 17#ifndef CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM18 19static inline void compaq_nvram_init(void __iomem *rom_start) { }20 21static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)22{23	return 0;24}25 26static inline int compaq_nvram_store(void __iomem *rom_start)27{28	return 0;29}30 31#else32 33void compaq_nvram_init(void __iomem *rom_start);34int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl);35int compaq_nvram_store(void __iomem *rom_start);36 37#endif38 39#endif40 41