diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-07-17 06:54:01 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-23 08:18:06 -0400 |
commit | d2f2761bb75ee365077b52c7e73a6e5164d3efa0 (patch) | |
tree | 457ecaa3511c644c5d1bf5f4dc2c41a1c03d8fa3 /drivers/mmc | |
parent | 4fe16897c59882420d66f2d503106653d026ed6c (diff) |
s3cmci: fixes for section mismatch warnings
Fix the naming of various functions in the s3cmc
driver to stop triggering section mismatch warnings.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 6a1e4994b724..8904bb39df65 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c | |||
@@ -1355,17 +1355,17 @@ static int __devexit s3cmci_remove(struct platform_device *pdev) | |||
1355 | return 0; | 1355 | return 0; |
1356 | } | 1356 | } |
1357 | 1357 | ||
1358 | static int __devinit s3cmci_probe_2410(struct platform_device *dev) | 1358 | static int __devinit s3cmci_2410_probe(struct platform_device *dev) |
1359 | { | 1359 | { |
1360 | return s3cmci_probe(dev, 0); | 1360 | return s3cmci_probe(dev, 0); |
1361 | } | 1361 | } |
1362 | 1362 | ||
1363 | static int __devinit s3cmci_probe_2412(struct platform_device *dev) | 1363 | static int __devinit s3cmci_2412_probe(struct platform_device *dev) |
1364 | { | 1364 | { |
1365 | return s3cmci_probe(dev, 1); | 1365 | return s3cmci_probe(dev, 1); |
1366 | } | 1366 | } |
1367 | 1367 | ||
1368 | static int __devinit s3cmci_probe_2440(struct platform_device *dev) | 1368 | static int __devinit s3cmci_2440_probe(struct platform_device *dev) |
1369 | { | 1369 | { |
1370 | return s3cmci_probe(dev, 1); | 1370 | return s3cmci_probe(dev, 1); |
1371 | } | 1371 | } |
@@ -1392,28 +1392,28 @@ static int s3cmci_resume(struct platform_device *dev) | |||
1392 | #endif /* CONFIG_PM */ | 1392 | #endif /* CONFIG_PM */ |
1393 | 1393 | ||
1394 | 1394 | ||
1395 | static struct platform_driver s3cmci_driver_2410 = { | 1395 | static struct platform_driver s3cmci_2410_driver = { |
1396 | .driver.name = "s3c2410-sdi", | 1396 | .driver.name = "s3c2410-sdi", |
1397 | .driver.owner = THIS_MODULE, | 1397 | .driver.owner = THIS_MODULE, |
1398 | .probe = s3cmci_probe_2410, | 1398 | .probe = s3cmci_2410_probe, |
1399 | .remove = __devexit_p(s3cmci_remove), | 1399 | .remove = __devexit_p(s3cmci_remove), |
1400 | .suspend = s3cmci_suspend, | 1400 | .suspend = s3cmci_suspend, |
1401 | .resume = s3cmci_resume, | 1401 | .resume = s3cmci_resume, |
1402 | }; | 1402 | }; |
1403 | 1403 | ||
1404 | static struct platform_driver s3cmci_driver_2412 = { | 1404 | static struct platform_driver s3cmci_2412_driver = { |
1405 | .driver.name = "s3c2412-sdi", | 1405 | .driver.name = "s3c2412-sdi", |
1406 | .driver.owner = THIS_MODULE, | 1406 | .driver.owner = THIS_MODULE, |
1407 | .probe = s3cmci_probe_2412, | 1407 | .probe = s3cmci_2412_probe, |
1408 | .remove = __devexit_p(s3cmci_remove), | 1408 | .remove = __devexit_p(s3cmci_remove), |
1409 | .suspend = s3cmci_suspend, | 1409 | .suspend = s3cmci_suspend, |
1410 | .resume = s3cmci_resume, | 1410 | .resume = s3cmci_resume, |
1411 | }; | 1411 | }; |
1412 | 1412 | ||
1413 | static struct platform_driver s3cmci_driver_2440 = { | 1413 | static struct platform_driver s3cmci_2440_driver = { |
1414 | .driver.name = "s3c2440-sdi", | 1414 | .driver.name = "s3c2440-sdi", |
1415 | .driver.owner = THIS_MODULE, | 1415 | .driver.owner = THIS_MODULE, |
1416 | .probe = s3cmci_probe_2440, | 1416 | .probe = s3cmci_2440_probe, |
1417 | .remove = __devexit_p(s3cmci_remove), | 1417 | .remove = __devexit_p(s3cmci_remove), |
1418 | .suspend = s3cmci_suspend, | 1418 | .suspend = s3cmci_suspend, |
1419 | .resume = s3cmci_resume, | 1419 | .resume = s3cmci_resume, |
@@ -1422,17 +1422,17 @@ static struct platform_driver s3cmci_driver_2440 = { | |||
1422 | 1422 | ||
1423 | static int __init s3cmci_init(void) | 1423 | static int __init s3cmci_init(void) |
1424 | { | 1424 | { |
1425 | platform_driver_register(&s3cmci_driver_2410); | 1425 | platform_driver_register(&s3cmci_2410_driver); |
1426 | platform_driver_register(&s3cmci_driver_2412); | 1426 | platform_driver_register(&s3cmci_2412_driver); |
1427 | platform_driver_register(&s3cmci_driver_2440); | 1427 | platform_driver_register(&s3cmci_2440_driver); |
1428 | return 0; | 1428 | return 0; |
1429 | } | 1429 | } |
1430 | 1430 | ||
1431 | static void __exit s3cmci_exit(void) | 1431 | static void __exit s3cmci_exit(void) |
1432 | { | 1432 | { |
1433 | platform_driver_unregister(&s3cmci_driver_2410); | 1433 | platform_driver_unregister(&s3cmci_2410_driver); |
1434 | platform_driver_unregister(&s3cmci_driver_2412); | 1434 | platform_driver_unregister(&s3cmci_2412_driver); |
1435 | platform_driver_unregister(&s3cmci_driver_2440); | 1435 | platform_driver_unregister(&s3cmci_2440_driver); |
1436 | } | 1436 | } |
1437 | 1437 | ||
1438 | module_init(s3cmci_init); | 1438 | module_init(s3cmci_init); |