History

tty/serial: at91: move ATMEL_MAX_UART

Move ATMEL_MAX_UART from platform_data/atmel.h to atmel_serial.c as this is the only file using it and it is common practise from tty/serial drivers to define it directly in the driver file.

Alexandre Belloni committed 11 years ago

Commit 9af92fb1 parent ed4492f2 files · +6 −6Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/atmel.h+0−6
@@ -19,12 +19,6 @@ · 18 unmodified lines
1919 #include <linux/serial.h>
2020 #include <linux/platform_data/macb.h>
2121
22−/*
23− * at91: 6 USARTs and one DBGU port (SAM9260)
24− * avr32: 4
25− */
26−#define ATMEL_MAX_UART 7
27−
2822 /* USB Device */
2923 struct at91_udc_data {
3024 int vbus_pin; /* high == host powering us */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t