Commit 463dcc42 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Greg Kroah-Hartman

serial: sccnxp: Rename header file to match functionality

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec063899
...@@ -118,7 +118,7 @@ static struct resource sc26xx_rsrc[] = { ...@@ -118,7 +118,7 @@ static struct resource sc26xx_rsrc[] = {
} }
}; };
#include <linux/platform_data/sccnxp.h> #include <linux/platform_data/serial-sccnxp.h>
static struct sccnxp_pdata sccnxp_data = { static struct sccnxp_pdata sccnxp_data = {
.reg_shift = 2, .reg_shift = 2,
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/tty_flip.h> #include <linux/tty_flip.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/platform_data/sccnxp.h> #include <linux/platform_data/serial-sccnxp.h>
#define SCCNXP_NAME "uart-sccnxp" #define SCCNXP_NAME "uart-sccnxp"
#define SCCNXP_MAJOR 204 #define SCCNXP_MAJOR 204
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
* (at your option) any later version. * (at your option) any later version.
*/ */
#ifndef __SCCNXP_H #ifndef _PLATFORM_DATA_SERIAL_SCCNXP_H_
#define __SCCNXP_H #define _PLATFORM_DATA_SERIAL_SCCNXP_H_
#define SCCNXP_MAX_UARTS 2 #define SCCNXP_MAX_UARTS 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment