mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:50:53 +07:00
sh: hp6xx driver compile fixes.
Trivial compilation fixes for the hp6xx drivers. Signed-off-by: Kristoffer Ericson <Kristoffer_e1@hotmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
d29c91c70b
commit
5753171b82
@ -21,7 +21,7 @@
|
|||||||
static void do_softint(void *data);
|
static void do_softint(void *data);
|
||||||
|
|
||||||
static struct input_dev *hp680_ts_dev;
|
static struct input_dev *hp680_ts_dev;
|
||||||
static DECLARE_WORK(work, do_softint, 0);
|
static DECLARE_WORK(work, do_softint);
|
||||||
|
|
||||||
static void do_softint(void *data)
|
static void do_softint(void *data)
|
||||||
{
|
{
|
||||||
|
@ -104,7 +104,7 @@ static void dac_audio_set_rate(void)
|
|||||||
unsigned long interval;
|
unsigned long interval;
|
||||||
struct clk *clk;
|
struct clk *clk;
|
||||||
|
|
||||||
clk = clk_get("module_clk");
|
clk = clk_get(NULL, "module_clk");
|
||||||
interval = (clk_get_rate(clk) / 4) / rate;
|
interval = (clk_get_rate(clk) / 4) / rate;
|
||||||
clk_put(clk);
|
clk_put(clk);
|
||||||
ctrl_outl(interval, TMU1_TCOR);
|
ctrl_outl(interval, TMU1_TCOR);
|
||||||
|
Loading…
Reference in New Issue
Block a user