MMC host:
- s3mci: mark debug_regs[] as static - renesas_sdhi: Add MODULE_LICENSE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJaWMUFAAoJEP4mhCVzWIwpss4QANIBiSb1GXG2lZ+xmF8QZOtW i9EeR6+xYwsNxfHzB+r8GAtZpViAtO2rN6reKTIjmLBCS4E011o1rikuuUFYE4JS cwMr6SUxzh77wwePtSMe/6dMPMHmmyWZCllmdp6yPgb9IIxTHB1ZO9Zg7284KwLc UpvqWRwEWqW0isJdveBKKrl92uyBYj3GJHGcrikzbKqmf7QjtqqKggxyCg+ZVeOq EHpGS+4MLrQgSfUpo8nGT9l33o3bH4q1IROCW8+bqJ0iz/H4/mNvUyqiJM/6NSi0 Garo+LS+dBuIvojx+sDHjSeTREfniLAsWehSIFCG4biIobMzoGtWQ4hI3O7eyKoM 7g0Un89fLUthYkd0cmSOG3VIPswLTZXM22tuPKOTHXBLXgpD9m7P87T23OLFjAVp gZ+OMTSwhoqqMwt/6XbOkd99Nnxq2EK9VXTic+DwRmygeMlAPaxflpGLROZS3Jqk +PrNfxxPrzyvHJ8LYxjlLlAZh6BeS2RtX6XqP8z9wP3reNULVnI8LVz/ZjhM+wkH OR2LOE2JIal52KIbi3ryVzH/P7e7v/piZfiPPJjiLbBKM0oiIG3nFuIQHMoeMhXh FmmhPm/z3gIxK0+neplEjJuPxBmWxjolOSB9eSXZnniX/T6i7J/dk7oW8Sa+4Jke 3wFRqBFLqUW4rjx9jb39 =8Rti -----END PGP SIGNATURE----- Merge tag 'mmc-v4.15-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc Pull MMC host fixes from Ulf Hansson: - s3mci: mark debug_regs[] as static - renesas_sdhi: Add MODULE_LICENSE * tag 'mmc-v4.15-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: mmc: s3mci: mark debug_regs[] as static mmc: renesas_sdhi: Add MODULE_LICENSE
This commit is contained in:
commit
f12e0dd0d7
2 changed files with 7 additions and 2 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <linux/kernel.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/of_device.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/mmc/host.h>
|
||||
|
@ -667,3 +668,5 @@ int renesas_sdhi_remove(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(renesas_sdhi_remove);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
@ -1424,7 +1424,9 @@ static const struct file_operations s3cmci_fops_state = {
|
|||
struct s3cmci_reg {
|
||||
unsigned short addr;
|
||||
unsigned char *name;
|
||||
} debug_regs[] = {
|
||||
};
|
||||
|
||||
static const struct s3cmci_reg debug_regs[] = {
|
||||
DBG_REG(CON),
|
||||
DBG_REG(PRE),
|
||||
DBG_REG(CMDARG),
|
||||
|
@ -1446,7 +1448,7 @@ struct s3cmci_reg {
|
|||
static int s3cmci_regs_show(struct seq_file *seq, void *v)
|
||||
{
|
||||
struct s3cmci_host *host = seq->private;
|
||||
struct s3cmci_reg *rptr = debug_regs;
|
||||
const struct s3cmci_reg *rptr = debug_regs;
|
||||
|
||||
for (; rptr->name; rptr++)
|
||||
seq_printf(seq, "SDI%s\t=0x%08x\n", rptr->name,
|
||||
|
|
Loading…
Reference in a new issue