On Thu, 18 Aug 2016 19:34:27 +0200, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > Replace the custom minimal clock implementation for Toshiba TXx9 by a > basic implementation using the Common Clock Framework. Thank you for good cleanup. > + if (TX4938_REV_PCODE() == 0x4938) { > + clk = clk_register_fixed_factor(NULL, "spi", "gbus", 0, 1, 4); > + error = clk_register_clkdev(clk, "spi-baseclk", NULL); > + if (error) > + goto fail; > + } Unfortunately, TX4938_REV_PCODE() can be used only on TX49 based platforms. Please enclose this block with #ifdef CONFIG_CPU_TX49XX. Or, while registering unused clkdev will not bloat kernel so much, just remove this TX4938 checking. --- Atsushi Nemoto -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html