Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / pci / hotplug / cpqphp_nvram.h
blob70e879b6a23f0832ab44e958a973191d29e64fe6
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Compaq Hot Plug Controller Driver
5 * Copyright (C) 1995,2001 Compaq Computer Corporation
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * All rights reserved.
10 * Send feedback to <greg@kroah.com>
14 #ifndef _CPQPHP_NVRAM_H
15 #define _CPQPHP_NVRAM_H
17 #ifndef CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM
19 static inline void compaq_nvram_init(void __iomem *rom_start) { }
21 static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)
23 return 0;
26 static inline int compaq_nvram_store(void __iomem *rom_start)
28 return 0;
31 #else
33 void compaq_nvram_init(void __iomem *rom_start);
34 int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl);
35 int compaq_nvram_store(void __iomem *rom_start);
37 #endif
39 #endif