Skip to content

Commit 463dcc4

Browse files
shcgitgregkh
authored andcommitted
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>
1 parent ec06389 commit 463dcc4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎arch/mips/sni/a20r.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static struct resource sc26xx_rsrc[] = {
118118
}
119119
};
120120

121-
#include <linux/platform_data/sccnxp.h>
121+
#include <linux/platform_data/serial-sccnxp.h>
122122

123123
static struct sccnxp_pdata sccnxp_data = {
124124
.reg_shift = 2,

‎drivers/tty/serial/sccnxp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <linux/tty_flip.h>
2626
#include <linux/spinlock.h>
2727
#include <linux/platform_device.h>
28-
#include <linux/platform_data/sccnxp.h>
28+
#include <linux/platform_data/serial-sccnxp.h>
2929

3030
#define SCCNXP_NAME "uart-sccnxp"
3131
#define SCCNXP_MAJOR 204

include/linux/platform_data/sccnxp.h renamed to include/linux/platform_data/serial-sccnxp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* (at your option) any later version.
1212
*/
1313

14-
#ifndef __SCCNXP_H
15-
#define __SCCNXP_H
14+
#ifndef _PLATFORM_DATA_SERIAL_SCCNXP_H_
15+
#define _PLATFORM_DATA_SERIAL_SCCNXP_H_
1616

1717
#define SCCNXP_MAX_UARTS 2
1818

0 commit comments

Comments
 (0)