]> Pileus Git - ~andy/linux/blobdiff - arch/xtensa/platforms/xtfpga/setup.c
Merge branch 'for-3.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[~andy/linux] / arch / xtensa / platforms / xtfpga / setup.c
index 03729132ae441215179a360374476af852bbb26a..57fd08b36f51a151a389794bf4e8af7c9b64fd13 100644 (file)
@@ -290,6 +290,7 @@ static int __init xtavnet_init(void)
         * knows whether they set it correctly on the DIP switches.
         */
        pr_info("XTFPGA: Ethernet MAC %pM\n", ethoc_pdata.hwaddr);
+       ethoc_pdata.eth_clkfreq = *(long *)XTFPGA_CLKFRQ_VADDR;
 
        return 0;
 }