carl9170 firmware: replace already defined __section with __in_section
[carl9170fw.git] / carlfw / include / rom.h
index d97677cc0076b9063bdc21ca5a798f106b917cf8..5abb5b60b6b1becfb51c52ed93a515ef11b3fb92 100644 (file)
@@ -3,10 +3,10 @@
  *
  * ROM layout
  *
- * Copyright (c) 2000-2005  ZyDAS Technology Corporation
+ * Copyright (c) 2000-2005 ZyDAS Technology Corporation
  * Copyright (c) 2007-2009 Atheros Communications, Inc.
  * Copyright   2009    Johannes Berg <johannes@sipsolutions.net>
- * Copyright 2009, 2010 Christian Lamparter <chunkeey@googlemail.com>
+ * Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -62,7 +62,7 @@ struct ar9170_hwtype {
 
 struct ar9170_rom {
        /* 0x00000000 */
-       uint8_t __nulldata[8];
+       uint32_t *irq_table[2];
 
        /* 0x00000008 */
        uint8_t bootcode[4968];
@@ -77,6 +77,6 @@ struct ar9170_rom {
        struct ar9170_eeprom sys;
 } __packed;
 
-static const struct ar9170_rom rom __section(eeprom);
+static const struct ar9170_rom rom __in_section(eeprom);
 
 #endif /* __CARL9170FW_ROM_H */