Skip to content

Commit

Permalink
ARM: at91: move SoC specific definitions to SoC folder
Browse files Browse the repository at this point in the history
Move linux/atmel_tc.h to the SoC specific folder include/soc/at91.

Signed-off-by: Alexandre Belloni <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
  • Loading branch information
alexandrebelloni authored and dlezcano committed May 2, 2019
1 parent 37dbf65 commit c2c9136
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/clocksource/tcb_clksrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/syscore_ops.h>
#include <linux/atmel_tc.h>
#include <soc/at91/atmel_tcb.h>


/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/atmel_tclib.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <linux/atmel_tc.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/init.h>
Expand All @@ -10,6 +9,7 @@
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/of.h>
#include <soc/at91/atmel_tcb.h>

/*
* This is a thin library to solve the problem of how to portably allocate
Expand Down
2 changes: 1 addition & 1 deletion drivers/pwm/pwm-atmel-tcb.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/atmel_tc.h>
#include <linux/pwm.h>
#include <linux/of_device.h>
#include <linux/slab.h>
#include <soc/at91/atmel_tcb.h>

#define NPWM 6

Expand Down
4 changes: 2 additions & 2 deletions include/linux/atmel_tc.h → include/soc/at91/atmel_tcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* (at your option) any later version.
*/

#ifndef ATMEL_TC_H
#define ATMEL_TC_H
#ifndef __SOC_ATMEL_TCB_H
#define __SOC_ATMEL_TCB_H

#include <linux/compiler.h>
#include <linux/list.h>
Expand Down

0 comments on commit c2c9136

Please sign in to comment.