aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/phy-rcar-gen2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/phy-rcar-gen2.c')
-rw-r--r--drivers/phy/phy-rcar-gen2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/phy/phy-rcar-gen2.c b/drivers/phy/phy-rcar-gen2.c
index 97d45f47d1ad..8b093d02fc1b 100644
--- a/drivers/phy/phy-rcar-gen2.c
+++ b/drivers/phy/phy-rcar-gen2.c
@@ -17,8 +17,7 @@
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
-
-#include <asm/cmpxchg.h>
+#include <linux/atomic.h>
#define USBHS_LPSTS 0x02
#define USBHS_UGCTRL 0x80