Drivers for 4.8 #2:
- Make memory drivers explicitly non-modular -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJXaXKFAAoJENiigzvaE+LCos8P/2BtF6nr8U0cuX3UBXa6qVg/ Z7pXak46eU7cE6NicdKnrwrmBtuYxObiqwfK4Gb8KrK+Nanya7NK67p6dHiRoM6W v1gw36ne3D5OUzDbKCCec9viChiUOrHVmBjmQPtOJY+6VGdl/xxUYXeFezcOHd5V 0E3Qh9HcXiUuh3JFs/peoLNmmch0brClhA6unlVnEB6+xkEjIEohTjVO/ndoTO+3 kEVGkfLPA2Yfoh/aOEKp59sx0XkxfVEinesO7ud3euO3RxLaSN6up63KsCei6DrA zoyGMTxZ/6I2Spwa3rkFSIUcuq7sH1/kF9+NLlyFx8Rzd7XzBP5iNGeJGekT1DUo +zBdSDZqcT8Jm3BFpr1YSdFzpmSLA5Vaqch33XoEM9j+e+cyJsmZ0FJyPDhAFbMa I2IU5VJrK+MjgUi5kgrYCmYYABR3Dh0jMTQuc+2GdNq/K81MZTDinGFFyP9Z6Z9e hRpMPWAQ/PiN/pQ2tZNdOrz+xFvPEfblsLW0XOeSy5TLDUUsNDkvrDL5OIjHBX8u HIZ3hNmAi3wr8lRH0BKdQhoMhvt08p0OV8vZVS8XaAJ83KpO13J1EFV6cQRYCiiu +LRFBIhSHKYvANSh5I6hfP7naijtn8qKSKDgFDOJ99lIDtA4Xm+wENLbdwYzc3gX j8WaKzG0aLed1fBv5wHc =szfw -----END PGP SIGNATURE----- Merge tag 'at91-ab-4.8-drivers2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/drivers Drivers for 4.8 #2: - Make memory drivers explicitly non-modular * tag 'at91-ab-4.8-drivers2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: memory: atmel-ebi: make it explicitly non-modular memory: atmel-sdramc: make it explicitly non-modular Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
c8b2da0e80
2 changed files with 6 additions and 14 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/mfd/syscon.h>
|
||||
#include <linux/mfd/syscon/atmel-matrix.h>
|
||||
#include <linux/mfd/syscon/atmel-smc.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/of_device.h>
|
||||
#include <linux/regmap.h>
|
||||
|
||||
|
|
@ -648,7 +648,6 @@ static const struct of_device_id at91_ebi_id_table[] = {
|
|||
},
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, at91_ebi_id_table);
|
||||
|
||||
static int at91_ebi_dev_disable(struct at91_ebi *ebi, struct device_node *np)
|
||||
{
|
||||
|
|
@ -764,8 +763,4 @@ static struct platform_driver at91_ebi_driver = {
|
|||
.of_match_table = at91_ebi_id_table,
|
||||
},
|
||||
};
|
||||
module_platform_driver_probe(at91_ebi_driver, at91_ebi_probe);
|
||||
|
||||
MODULE_AUTHOR("Jean-Jacques Hiblot <jjhiblot@traphandler.com>");
|
||||
MODULE_DESCRIPTION("Atmel EBI driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
builtin_platform_driver_probe(at91_ebi_driver, at91_ebi_probe);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
/*
|
||||
* Atmel (Multi-port DDR-)SDRAM Controller driver
|
||||
*
|
||||
* Author: Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
||||
*
|
||||
* Copyright (C) 2014 Atmel
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
|
@ -20,7 +22,7 @@
|
|||
#include <linux/clk.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
|
|
@ -48,7 +50,6 @@ static const struct of_device_id atmel_ramc_of_match[] = {
|
|||
{ .compatible = "atmel,sama5d3-ddramc", .data = &sama5d3_caps, },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, atmel_ramc_of_match);
|
||||
|
||||
static int atmel_ramc_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
|
@ -90,8 +91,4 @@ static int __init atmel_ramc_init(void)
|
|||
{
|
||||
return platform_driver_register(&atmel_ramc_driver);
|
||||
}
|
||||
module_init(atmel_ramc_init);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Alexandre Belloni <alexandre.belloni@free-electrons.com>");
|
||||
MODULE_DESCRIPTION("Atmel (Multi-port DDR-)SDRAM Controller");
|
||||
device_initcall(atmel_ramc_init);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue