| * Load firmware files from Analog Devices SigmaStudio |
| * Copyright 2009-2011 Analog Devices Inc. |
| * Licensed under the GPL-2 or later. |
| #ifndef __SIGMA_FIRMWARE_H__ |
| #define __SIGMA_FIRMWARE_H__ |
| #include <linux/device.h> |
| #include <linux/regmap.h> |
| const struct firmware *fw; |
| int (*write)(void *control_data, const struct sigma_action *sa, |
| int _process_sigma_firmware(struct device *dev, |
| struct sigma_firmware *ssfw, const char *name); |
| extern int process_sigma_firmware(struct i2c_client *client, const char *name); |
| extern int process_sigma_firmware_regmap(struct device *dev, |
| struct regmap *regmap, const char *name); |