Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c30c8f9f
Commit
c30c8f9f
authored
Nov 09, 2011
by
Olof Johansson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'at91-fixes' of
git://github.com/at91linux/linux-at91
into fixes
parents
45ff6fa1
dd0b3825
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
27 deletions
+23
-27
arch/arm/mach-at91/at91cap9_devices.c
arch/arm/mach-at91/at91cap9_devices.c
+3
-4
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91rm9200_devices.c
+2
-3
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9260_devices.c
+2
-3
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
+2
-3
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
+2
-3
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
+3
-4
arch/arm/mach-at91/at91sam9rl_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
+3
-4
arch/arm/mach-at91/board-yl-9200.c
arch/arm/mach-at91/board-yl-9200.c
+1
-1
arch/arm/mach-at91/include/mach/vmalloc.h
arch/arm/mach-at91/include/mach/vmalloc.h
+2
-0
drivers/spi/spi-atmel.c
drivers/spi/spi-atmel.c
+3
-2
No files found.
arch/arm/mach-at91/at91cap9_devices.c
View file @
c30c8f9f
...
...
@@ -98,7 +98,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
...
...
@@ -1021,8 +1021,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -1035,7 +1035,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91rm9200_devices.c
View file @
c30c8f9f
...
...
@@ -877,8 +877,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -891,7 +891,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9260_devices.c
View file @
c30c8f9f
...
...
@@ -837,8 +837,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -851,7 +851,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9261_devices.c
View file @
c30c8f9f
...
...
@@ -816,8 +816,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -830,7 +830,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9263_devices.c
View file @
c30c8f9f
...
...
@@ -1196,8 +1196,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -1210,7 +1210,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9g45_devices.c
View file @
c30c8f9f
...
...
@@ -197,7 +197,7 @@ void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data) {}
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91SAM9G45_UDPHS_FIFO
,
...
...
@@ -1332,8 +1332,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -1346,7 +1346,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/at91sam9rl_devices.c
View file @
c30c8f9f
...
...
@@ -75,7 +75,7 @@ void __init at91_add_device_hdmac(void) {}
* USB HS Device (Gadget)
* -------------------------------------------------------------------- */
#if defined(CONFIG_USB_
GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET
_ATMEL_USBA_MODULE)
#if defined(CONFIG_USB_
ATMEL_USBA) || defined(CONFIG_USB
_ATMEL_USBA_MODULE)
static
struct
resource
usba_udc_resources
[]
=
{
[
0
]
=
{
...
...
@@ -908,8 +908,8 @@ void __init at91_add_device_ssc(unsigned id, unsigned pins) {}
#if defined(CONFIG_SERIAL_ATMEL)
static
struct
resource
dbgu_resources
[]
=
{
[
0
]
=
{
.
start
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_
VA_
BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
start
=
AT91_BASE_SYS
+
AT91_DBGU
,
.
end
=
AT91_BASE_SYS
+
AT91_DBGU
+
SZ_512
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
[
1
]
=
{
...
...
@@ -922,7 +922,6 @@ static struct resource dbgu_resources[] = {
static
struct
atmel_uart_data
dbgu_data
=
{
.
use_dma_tx
=
0
,
.
use_dma_rx
=
0
,
/* DBGU not capable of receive DMA */
.
regs
=
(
void
__iomem
*
)(
AT91_VA_BASE_SYS
+
AT91_DBGU
),
};
static
u64
dbgu_dmamask
=
DMA_BIT_MASK
(
32
);
...
...
arch/arm/mach-at91/board-yl-9200.c
View file @
c30c8f9f
...
...
@@ -384,7 +384,7 @@ static struct spi_board_info yl9200_spi_devices[] = {
#include <video/s1d13xxxfb.h>
static
void
__init
yl9200_init_video
(
void
)
static
void
yl9200_init_video
(
void
)
{
/* NWAIT Signal */
at91_set_A_periph
(
AT91_PIN_PC6
,
0
);
...
...
arch/arm/mach-at91/include/mach/vmalloc.h
View file @
c30c8f9f
...
...
@@ -21,6 +21,8 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H
#include <mach/hardware.h>
#define VMALLOC_END (AT91_VIRT_BASE & PGDIR_MASK)
#endif
drivers/spi/spi-atmel.c
View file @
c30c8f9f
...
...
@@ -907,7 +907,7 @@ static void atmel_spi_cleanup(struct spi_device *spi)
/*-------------------------------------------------------------------------*/
static
int
__init
atmel_spi_probe
(
struct
platform_device
*
pdev
)
static
int
__
dev
init
atmel_spi_probe
(
struct
platform_device
*
pdev
)
{
struct
resource
*
regs
;
int
irq
;
...
...
@@ -1003,7 +1003,7 @@ static int __init atmel_spi_probe(struct platform_device *pdev)
return
ret
;
}
static
int
__exit
atmel_spi_remove
(
struct
platform_device
*
pdev
)
static
int
__
dev
exit
atmel_spi_remove
(
struct
platform_device
*
pdev
)
{
struct
spi_master
*
master
=
platform_get_drvdata
(
pdev
);
struct
atmel_spi
*
as
=
spi_master_get_devdata
(
master
);
...
...
@@ -1072,6 +1072,7 @@ static struct platform_driver atmel_spi_driver = {
},
.
suspend
=
atmel_spi_suspend
,
.
resume
=
atmel_spi_resume
,
.
probe
=
atmel_spi_probe
,
.
remove
=
__exit_p
(
atmel_spi_remove
),
};
module_platform_driver
(
atmel_spi_driver
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment