#include <linux/mmc/sdio_func.h>
#include <linux/seq_file.h>
+#include "compat-2.6.34.h"
static mmc_pm_flag_t backport_mmc_pm_flags;
*
* Called at seq_file->op->start().
*/
-struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos)
+static struct hlist_node *
+seq_hlist_start(struct hlist_head *head, loff_t pos)
{
struct hlist_node *node;
* published by the Free Software Foundation.
*/
-#include <linux/hid.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
(id->product == HID_ANY_ID || id->product == hdev->product);
}
-const struct hid_device_id *hid_match_id(struct hid_device *hdev,
- const struct hid_device_id *id)
+static const struct hid_device_id *
+hid_match_id(struct hid_device *hdev, const struct hid_device_id *id)
{
for (; id->bus; id++)
if (hid_match_one_id(hdev, id))
dest_ptr = devm_ioremap_resource(dev, res);
if (!dest_ptr)
- return ERR_PTR(-ENOMEM);
+ return (void __iomem *)ERR_PTR(-ENOMEM);
return dest_ptr;
}
EXPORT_SYMBOL_GPL(devm_ioremap_resource);