1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (c) 2013 Intel Corporation. All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License version 7 * 2 as published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * 15 */ 16 #ifndef __LIBMSRLISTHELPER_H__ 17 #define __LIBMSRLISTHELPER_H__ 18 19 struct i2c_client; 20 struct firmware; 21 22 int load_msr_list(struct i2c_client *client, char *path, 23 const struct firmware **fw); 24 int apply_msr_data(struct i2c_client *client, const struct firmware *fw); 25 void release_msr_list(struct i2c_client *client, 26 const struct firmware *fw); 27 28 #endif /* ifndef __LIBMSRLISTHELPER_H__ */ 29