serial: sccnxp: Rename header file to match functionality
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec063899b7
commit
463dcc42e4
@ -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 @@
|
|||||||
#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 @@
|
|||||||
* (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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user