Source
1
+
// SPDX-License-Identifier: GPL-2.0
1
2
/*
2
3
* SH SPI bus driver
3
4
*
4
5
* Copyright (C) 2011 Renesas Solutions Corp.
5
6
*
6
7
* Based on pxa2xx_spi.c:
7
8
* Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
8
-
*
9
-
* This program is free software; you can redistribute it and/or modify
10
-
* it under the terms of the GNU General Public License as published by
11
-
* the Free Software Foundation; version 2 of the License.
12
-
*
13
-
* This program is distributed in the hope that it will be useful,
14
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
-
* GNU General Public License for more details.
17
9
*/
18
10
19
11
#include <linux/module.h>
20
12
#include <linux/kernel.h>
21
13
#include <linux/sched.h>
22
14
#include <linux/errno.h>
23
15
#include <linux/timer.h>
24
16
#include <linux/delay.h>
25
17
#include <linux/list.h>
26
18
#include <linux/workqueue.h>
515
507
static struct platform_driver spi_sh_driver = {
516
508
.probe = spi_sh_probe,
517
509
.remove = spi_sh_remove,
518
510
.driver = {
519
511
.name = "sh_spi",
520
512
},
521
513
};
522
514
module_platform_driver(spi_sh_driver);
523
515
524
516
MODULE_DESCRIPTION("SH SPI bus driver");
525
-
MODULE_LICENSE("GPL");
517
+
MODULE_LICENSE("GPL v2");
526
518
MODULE_AUTHOR("Yoshihiro Shimoda");
527
519
MODULE_ALIAS("platform:sh_spi");