diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-19 15:00:46 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 11:11:14 -0700 |
commit | b0af24b523c21c918eb64541df4450b9da7ed195 (patch) | |
tree | 2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-pll-a10.c | |
parent | fdb94059d89aab102b4debc30e77f0b5521f8148 (diff) | |
download | linux-b0af24b523c21c918eb64541df4450b9da7ed195.tar.gz linux-b0af24b523c21c918eb64541df4450b9da7ed195.tar.bz2 linux-b0af24b523c21c918eb64541df4450b9da7ed195.zip |
clk: socfpga: Remove clk.h and clkdev.h includes
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. The clkdev.h include isn't used either, remove
it and add in slab.h to make sure things keep compiling.
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/socfpga/clk-pll-a10.c')
-rw-r--r-- | drivers/clk/socfpga/clk-pll-a10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/socfpga/clk-pll-a10.c b/drivers/clk/socfpga/clk-pll-a10.c index 1178b11babca..402d630bd531 100644 --- a/drivers/clk/socfpga/clk-pll-a10.c +++ b/drivers/clk/socfpga/clk-pll-a10.c @@ -13,6 +13,7 @@ * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <linux/slab.h> #include <linux/clk-provider.h> #include <linux/io.h> #include <linux/of.h> |