| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of wl1251 | 2 * This file is part of wl1251 |
| 3 * | 3 * |
| 4 * Copyright (C) 2008 Nokia Corporation | 4 * Copyright (C) 2008 Nokia Corporation |
| 5 * | 5 * |
| 6 * Contact: Kalle Valo <kalle.valo@nokia.com> | 6 * Contact: Kalle Valo <kalle.valo@nokia.com> |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or | 8 * This program is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU General Public License | 9 * modify it under the terms of the GNU General Public License |
| 10 * version 2 as published by the Free Software Foundation. | 10 * version 2 as published by the Free Software Foundation. |
| 11 * | 11 * |
| 12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
| 13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * General Public License for more details. | 15 * General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU General Public License | 17 * You should have received a copy of the GNU General Public License |
| 18 * along with this program; if not, write to the Free Software | 18 * along with this program; if not, write to the Free Software |
| 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 20 * 02110-1301 USA | 20 * 02110-1301 USA |
| 21 * | 21 * |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #include <linux/gpio.h> | |
| 25 #include <linux/slab.h> | 24 #include <linux/slab.h> |
| 26 | 25 |
| 27 #include "wl1251_reg.h" | 26 #include "wl1251_reg.h" |
| 28 #include "wl1251_boot.h" | 27 #include "wl1251_boot.h" |
| 29 #include "wl1251_io.h" | 28 #include "wl1251_io.h" |
| 30 #include "wl1251_spi.h" | 29 #include "wl1251_spi.h" |
| 31 #include "wl1251_event.h" | 30 #include "wl1251_event.h" |
| 32 #include "wl1251_acx.h" | 31 #include "wl1251_acx.h" |
| 33 | 32 |
| 34 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) | 33 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 goto out; | 549 goto out; |
| 551 | 550 |
| 552 /* 10.5 start firmware */ | 551 /* 10.5 start firmware */ |
| 553 ret = wl1251_boot_run_firmware(wl); | 552 ret = wl1251_boot_run_firmware(wl); |
| 554 if (ret < 0) | 553 if (ret < 0) |
| 555 goto out; | 554 goto out; |
| 556 | 555 |
| 557 out: | 556 out: |
| 558 return ret; | 557 return ret; |
| 559 } | 558 } |
| OLD | NEW |