diff options
author | Gery Kahn <geryk@ti.com> | 2010-10-05 16:09:05 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 19:25:02 +0100 |
commit | c8aea565e8f715d9f10064b1cbfbc15bf75df501 (patch) | |
tree | 4c0b875ef905991f3096e169b3469efb1d677ea7 /include | |
parent | iwlagn: use 6000g2b uCode for 130 series devices (diff) | |
download | linux-c8aea565e8f715d9f10064b1cbfbc15bf75df501.tar.xz linux-c8aea565e8f715d9f10064b1cbfbc15bf75df501.zip |
wl1271: ref_clock cosmetic changes
Cosmetic cleanup for ref_clock code while configured by board.
Signed-off-by: Gery Kahn <geryk@ti.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/wl12xx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h index 4f902e1908aa..bebb8efea0a6 100644 --- a/include/linux/wl12xx.h +++ b/include/linux/wl12xx.h @@ -24,6 +24,14 @@ #ifndef _LINUX_WL12XX_H #define _LINUX_WL12XX_H +/* The board reference clock values */ +enum { + WL12XX_REFCLOCK_19 = 0, /* 19.2 MHz */ + WL12XX_REFCLOCK_26 = 1, /* 26 MHz */ + WL12XX_REFCLOCK_38 = 2, /* 38.4 MHz */ + WL12XX_REFCLOCK_54 = 3, /* 54 MHz */ +}; + struct wl12xx_platform_data { void (*set_power)(bool enable); /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ |