platformdata.c (71b9114d2c13a648fbe6523dd859e611c316ad90) | platformdata.c (c6ff132d4224022ffaa461ec771ec27c5319369c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// 3// Copyright 2010 Ben Dooks <ben-linux <at> fluff.org> 4// 5// Helper for platform data setting 6 7#include <linux/kernel.h> 8#include <linux/slab.h> 9#include <linux/string.h> 10#include <linux/platform_device.h> 11 | 1// SPDX-License-Identifier: GPL-2.0 2// 3// Copyright 2010 Ben Dooks <ben-linux <at> fluff.org> 4// 5// Helper for platform data setting 6 7#include <linux/kernel.h> 8#include <linux/slab.h> 9#include <linux/string.h> 10#include <linux/platform_device.h> 11 |
12#include <plat/devs.h> 13#include <plat/sdhci.h> | 12#include "devs.h" 13#include "sdhci.h" |
14 15void __init *s3c_set_platdata(void *pd, size_t pdsize, 16 struct platform_device *pdev) 17{ 18 void *npd; 19 20 if (!pd) { 21 /* too early to use dev_name(), may not be registered */ --- 32 unchanged lines hidden --- | 14 15void __init *s3c_set_platdata(void *pd, size_t pdsize, 16 struct platform_device *pdev) 17{ 18 void *npd; 19 20 if (!pd) { 21 /* too early to use dev_name(), may not be registered */ --- 32 unchanged lines hidden --- |