summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/eeprom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/eeprom.h b/include/linux/eeprom.h
index 0f0642271857..ddd37b8ce903 100644
--- a/include/linux/eeprom.h
+++ b/include/linux/eeprom.h
@@ -59,7 +59,7 @@ void setup_ee_mem_bitbanger(struct eeprom *ee, long memaddr, int eesel_bit, int
/* foo. put this in a .c file */
static inline void eeprom_update(struct eeprom *ee, u32 mask, int pol)
{
- long flags;
+ unsigned long flags;
u32 data;
spin_lock_irqsave(ee->lock, flags);