You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[ARM] 5283/1: pxa: add CM-X255 pcmcia support
Signed-off-by: Russ Dill <russ.dill@gmail.com> Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
a7f3f0309b
commit
8616e2fb69
@@ -105,13 +105,10 @@ static struct pcmcia_low_level cmx270_pcmcia_ops __initdata = {
|
||||
|
||||
static struct platform_device *cmx270_pcmcia_device;
|
||||
|
||||
static int __init cmx270_pcmcia_init(void)
|
||||
int __init cmx270_pcmcia_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (!machine_is_armcore())
|
||||
return -ENODEV;
|
||||
|
||||
cmx270_pcmcia_device = platform_device_alloc("pxa2xx-pcmcia", -1);
|
||||
|
||||
if (!cmx270_pcmcia_device)
|
||||
@@ -131,14 +128,7 @@ static int __init cmx270_pcmcia_init(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __exit cmx270_pcmcia_exit(void)
|
||||
void __exit cmx270_pcmcia_exit(void)
|
||||
{
|
||||
platform_device_unregister(cmx270_pcmcia_device);
|
||||
}
|
||||
|
||||
module_init(cmx270_pcmcia_init);
|
||||
module_exit(cmx270_pcmcia_exit);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>");
|
||||
MODULE_DESCRIPTION("CM-x270 PCMCIA driver");
|
||||
|
||||
Reference in New Issue
Block a user