summaryrefslogtreecommitdiff
path: root/drivers/staging/sep/sep_driver_config.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-06 20:45:07 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:12 -0700
commitf5e3980f9b28b703bc009af9dfa33ae2236503da (patch)
tree8d63e5b932f32b5a9c38b733c6928206346f159f /drivers/staging/sep/sep_driver_config.h
parent6a107539899803c1f8f36bcd3cc5a3c68660bd13 (diff)
Staging: sep: Create a structure to hold all the current crap spewed about as globals
For now keep the field names matching the variable names Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep/sep_driver_config.h')
-rw-r--r--drivers/staging/sep/sep_driver_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sep/sep_driver_config.h b/drivers/staging/sep/sep_driver_config.h
index a796c4970a06..48f159179a14 100644
--- a/drivers/staging/sep/sep_driver_config.h
+++ b/drivers/staging/sep/sep_driver_config.h
@@ -297,7 +297,7 @@ do { \
do { \
unsigned long reg_val; \
do { \
- SEP_READ_REGISTER(g_sep_reg_base_address + \
+ SEP_READ_REGISTER(sep_dev->reg_base_address + \
HW_SRAM_DATA_READY_REG_ADDR, (reg_val)); \
} while (!(reg_val & 0x1)); \
} while (0)