hwmon: (pmbus) Increase attribute name size
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / mmc / core / host.h
blobde199f91192851b0d4f3162a6dcbe78199fa9e59
1 /*
2 * linux/drivers/mmc/core/host.h
4 * Copyright (C) 2003 Russell King, All Rights Reserved.
5 * Copyright 2007 Pierre Ossman
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef _MMC_CORE_HOST_H
12 #define _MMC_CORE_HOST_H
13 #include <linux/mmc/host.h>
15 int mmc_register_host_class(void);
16 void mmc_unregister_host_class(void);
18 #ifdef CONFIG_MMC_CLKGATE
19 void mmc_host_clk_ungate(struct mmc_host *host);
20 void mmc_host_clk_gate(struct mmc_host *host);
21 unsigned int mmc_host_clk_rate(struct mmc_host *host);
23 #else
24 static inline void mmc_host_clk_ungate(struct mmc_host *host)
28 static inline void mmc_host_clk_gate(struct mmc_host *host)
32 static inline unsigned int mmc_host_clk_rate(struct mmc_host *host)
34 return host->ios.clock;
36 #endif
38 void mmc_host_deeper_disable(struct work_struct *work);
40 #endif