video: rockchip: lcdc: 3288: update CABC config
[firefly-linux-kernel-4.4.55.git] / drivers / i2c / i2c-boardinfo.c
old mode 100755 (executable)
new mode 100644 (file)
index a35251e..f24cc64
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301 USA.
  */
 
 #include <linux/kernel.h>
 #include <linux/i2c.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <linux/rwsem.h>
 
 #include "i2c-core.h"
@@ -66,6 +68,7 @@ i2c_register_board_info(int busnum,
        int status;
 
        down_write(&__i2c_board_lock);
+
        /* dynamic bus numbers will be assigned after the last static one */
        if (busnum >= __i2c_first_dynamic_bus_num)
                __i2c_first_dynamic_bus_num = busnum + 1;