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
19#include <linux/serial.h>19#include <linux/serial.h>
20#include <linux/platform_data/macb.h>20#include <linux/platform_data/macb.h>
21 21
22/*
23 * at91: 6 USARTs and one DBGU port (SAM9260)
24 * avr32: 4
25 */
26#define ATMEL_MAX_UART 7
27
28 /* USB Device */22 /* USB Device */
29struct at91_udc_data {23struct at91_udc_data {
30 int vbus_pin; /* high == host powering us */24 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