How can I enable SPI in 3.17?

After upgrading kernel to 3.17, my working program and test program does not work. And I think that this is related to SPI device. How can I properly enable SPI0 in 3.17?