1*736759efSBjorn Helgaas /* SPDX-License-Identifier: GPL-2.0+ */ 21da177e4SLinus Torvalds /* 31da177e4SLinus Torvalds * Compaq Hot Plug Controller Driver 41da177e4SLinus Torvalds * 51da177e4SLinus Torvalds * Copyright (C) 1995,2001 Compaq Computer Corporation 61da177e4SLinus Torvalds * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 71da177e4SLinus Torvalds * 81da177e4SLinus Torvalds * All rights reserved. 91da177e4SLinus Torvalds * 101da177e4SLinus Torvalds * Send feedback to <greg@kroah.com> 111da177e4SLinus Torvalds * 121da177e4SLinus Torvalds */ 131da177e4SLinus Torvalds 141da177e4SLinus Torvalds #ifndef _CPQPHP_NVRAM_H 151da177e4SLinus Torvalds #define _CPQPHP_NVRAM_H 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds #ifndef CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM 181da177e4SLinus Torvalds 191da177e4SLinus Torvalds static inline void compaq_nvram_init(void __iomem *rom_start) 201da177e4SLinus Torvalds { 211da177e4SLinus Torvalds return; 221da177e4SLinus Torvalds } 231da177e4SLinus Torvalds 241da177e4SLinus Torvalds static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl) 251da177e4SLinus Torvalds { 261da177e4SLinus Torvalds return 0; 271da177e4SLinus Torvalds } 281da177e4SLinus Torvalds 291da177e4SLinus Torvalds static inline int compaq_nvram_store(void __iomem *rom_start) 301da177e4SLinus Torvalds { 311da177e4SLinus Torvalds return 0; 321da177e4SLinus Torvalds } 331da177e4SLinus Torvalds 341da177e4SLinus Torvalds #else 351da177e4SLinus Torvalds 36f39d5b72SBjorn Helgaas void compaq_nvram_init(void __iomem *rom_start); 37f39d5b72SBjorn Helgaas int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl); 38f39d5b72SBjorn Helgaas int compaq_nvram_store(void __iomem *rom_start); 391da177e4SLinus Torvalds 401da177e4SLinus Torvalds #endif 411da177e4SLinus Torvalds 421da177e4SLinus Torvalds #endif 431da177e4SLinus Torvalds 44