Define struct 'generic_settings_operations'

The definition is needed to compile nic_drv with -O0 for Fiasco.OC.

This patch fixes #96.
This commit is contained in:
Christian Prochaska 2012-02-01 19:12:07 +01:00 committed by Norman Feske
parent 9399800c65
commit ec09842fc7
1 changed files with 7 additions and 0 deletions

View File

@ -334,6 +334,13 @@ void adjust_pci_device ( struct pci_device *pci ) {
** Device management **
***********************/
struct settings_operations generic_settings_operations = {
.store = 0,
.fetch = 0,
.clear = 0,
};
int register_settings(struct settings *settings, struct settings *parent,
const char *name)
{